What is the ruling on speaking while relieving oneself?
It is disliked for one relieving himself to speak while doing so, except out of necessity. And Allah the Almighty 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 someone who eats or drinks assuming that the night is still present, then realizes that dawn has broken?
Whoever eats or drinks assuming that the night is still present, then later discovers that dawn has broken, must refrain from eating and drinking for the rest of the day out of respect for the sacred month. However, they must make up that day after Ramadan, and there is no sin upon them.
What is the ruling on performing istinja' before every ablution?
Istinja' is not from the conditions for the validity of ablution. It is only obligatory for prayer when there is impurity from urine or stool on the private part, or if there is fear of the impurity spreading to the body or clothing. And Allah the Almighty knows best.