Hazrat Sha'bi (may Allah have mercy on him) said: "The marriage and buying and selling of a person who marries in the illness of death are permissible."
Hadith Referenceسنن سعید بن منصور / كتاب النكاح / 1821
Hadith Takhrij«أخرجه الدارمي فى «مسنده» برقم: 3260، وسعيد بن منصور فى «سننه» ترقيم الدرالسلفية برقم:، 644، وابن أبى شيبة فى «مصنفه» برقم: 17708»