What is the ruling on the ablution of one who cuts his nails, and is it permissible to cut them before the ritual bath for major impurity (janabah)?
Cutting nails does not invalidate ablution, and it is permissible to cut them before the ritual bath for major impurity. And Allah the Almighty knows best.
What is the ruling on performing the Istikhara prayer after the Witr paryer?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
The Istikhara prayer (Prayer for seeking guidance) is a Sunnah. It consists of two units (rak’ahs) performed outside of the obligatory prayers, after which the person supplicates with the traditionally narrated du’a. It is permissible to perform it before or after the Witr prayer, as the Istikhara prayer is recommended at all times except during the disliked times—the periods in which prayer is prohibited. This is because its specific reason (the Istikhara and supplication) occurs after the prayer itself, and any prayer with a subsequent reason is not permitted during the prohibited times. It should be noted that the two rak’ahs of Istikhara are not fulfilled by performing only one rak’ah, nor by a prostration of recitation (Sajdat al-Tilawah), nor by a funeral prayer (Janazah). And Allah the Exalted knows best.
What is the ruling if someone wipes his head then shaves it - must he repeat it?
If a person performing ablution shaves his head after wiping it during ablution, he is not required to re-wipe his head or repeat the ablution. And Allah the Almighty knows best.
What is the ruling on preparing food for someone who is not fasting in Ramadan?
It is forbidden to prepare food for someone who is breaking their fast without a valid excuse in Ramadan.
Doing so would be assisting in sin, and assisting in sin is itself a sin.
Allah says {what means}: "but help ye not one another in sin and rancour" [Al-Mai`dah/2]