Answered by Ustadh Salman Younas
Question: Is it permissible to write in my will that I would like to donate my organs to the hospital?
Answer: assalamu `alaykum
Contemporary scholars have differed over the permissibility of organ donation. A majority have opined that it would be permissible provided certain conditions are met.
Regarding the specific scenario you mention, the Majma’ al-Fiqh al-Islami (the Islamic Fiqh Academy) passed a resolution that a living person may benefit from the organs of a dead person when needed provided the latter grants permission for his organs to be used prior to his death. Therefore, it would be permitted for someone to stipulate this in his or her will.
Checked & Approved by Shaykh Faraz Rabbani.