With regard to a person who ejaculated

Q: I would like to inform you that one day in Ramadan, I had an appointment at a hospital. (Part No. 10; Page No. 261) My physician requested semen analysis and told me that this was imperative. I was, thus, forced to ejaculate semen for the sake of the test. This was during daytime in Ramadan and I had to discharge the semen by masturbation, knowing that this appointment was scheduled by the hospital and there were no appointments at any other time. Also, this was for the sake of making tests for my wife and myself.Your Eminence, please give me a Fatwa (legal opinion issued by a qualified Muslim scholar) for this! Should I only observe compensatory Sawm (Fast) or should I offer Kaffarah (expiation) as well? May Allah grant you success!

A: If the situation is as you have mentioned, it is obligatory that you make up for that day on which you masturbated and there is no Kaffarah which you have to offer.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.