Is prayer nullified by having thoughts while performing it?
Prayer isn`t nullified by having thoughts while performing it, provided that the praying person offers all of its pillars and meets all of its conditions. However, the reward decreases significantly in the absence of reverence since a praying person is rewarded according to the attentiveness of his/her heart during prayer.
What is the ruling on determining the sex of the baby whether through killing the female spermatozoa, or any other way in order to have a male?
If it is done through having a certain type of food, taking a certain type of medication, or organizing the time of the marital relation, then it is permissible.
Is it permissible to make up for missed fast after the beginning of the second half of the month of Sha`ban (the month before Ramadan)?
Yes, it is permissible, but one who had missed fasts should hasten to make up for them. As for the Hadith mentioned in this regard, the prohibition is for offering absolute voluntary fasting. And Allah Knows Best.
Is the patient who is on dialysis twice a week obliged to observe fasting? Is his fasting on the days he is on dialysis considered valid or not?
Praise be to Allah the Lord of the Worlds.
Dialysis invalidates fasting because of the nutritional fluid used in that procedure, as pointed by specialized doctors, in addition to causing bodies to enter the stomach. Therefore, it is recommended that the patient who had undergone dialysis to observe fasting for the rest of that day, if he is able to, and make up for it after Ramadan. However, if the doctor told him that fasting, at any time, would damage his health, then he must break his fast and pay a ransom against every missed day. We pray that Allah blesses this person with recovery. And Allah The Almighty Knows Best.