There is a ruling on donations [or gifts] from someone during the illness from which he or she is expected to die. 1050 The same applies to others with similar fears, like when standing between the two ranks before battle, or en route to being executed, or in a storm at sea, or in a land infested by plague. Given that death actually follows, the ruling is that such a donation is to be treated as a waṣiyah (bequest) 1051 in six respects:
تَبَرُّعَاتُ الْمَرِيْضِ مَرَضَ الْمَوْتِ الْمَخُوْفِ، وَمَنْ هُوَ فِي الْخَوْفِ كَالْمَرِيْضِ، كَالْوَاقِفِ بَيْنَ الصَّفَّيْنِ عِنْدَ الْتِحَامِ الْقِتَالِ، وَمَنْ قُدِّمَ لِيُقْتَلَ، وَرَاكِبِ الْبَحْرِ حَالَ هَيَجَانِهِ، وَمَنْ وَقَعَ الطَّاعُوْنُ بِبَلَدِهِ إِذَا اتَّصَلَ بِهِمُ الْمَوْتُ، حُكْمُهَا حُكْمُ وَصِيَّتِهِ فِي سِتَّةِ أَحْكَامٍ: