Is it permissible for the guardian, or the father of the child to hit the latter in order to teach him/her good manners?
It is permissible for the guardian to hit his/her child for teaching them good manners once they become ten years old provided that it is done mildly, harmlessly and without intimidation. Actually, such punishment is to be employed gradually i.e. after: asking, warning, and scolding. As for the teacher, he isn`t allowed to hit the student unless the latter`s father approves of it, and it is done according to necessity without intimidation, or harm.
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 for a woman to shake hands with her brother-in-law?
It is forbidden for the woman to shake hands with her brother-in-law because he isn`t a Mahram (unmarriageable) of hers.
A person prays in a certain spot within the rows of the mosque, and gets angry if someone else prayed at his spot. What is the ruling on this behavior?
All Perfect Praise be to Allah The Lord of The Worlds and may His Peace and blessings be upon our Prophet Muhammad and upon all of his family and companions Prophet Mohammad (PBUH) make it prohibited for a Muslim from having/taking a certain spot in the mosque when performing prayers if they arrived and find it occupied, furthermore; it is the religious duty on others (praying people) to offer a piece of advice to alert the ones who don't know, that whoever reaches a spot first at the mosque having a priority/privilege upon others in that spot. And Allah Knows Best.