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 swearing on the Holy Quran and breaking that oath?
It is impermissible to swear on the Holy Quran in vain, and it is also impermissible to subject it to such an act since breaking the oath after swearing on the Quran entails an expiation.
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 should one who made an intention, at night, to make up for a missed fasting day, but broke his fast on the next day?
One who started making up a missed fasting day, then broke his/her fast without a legitimate reason is considered sinful, and is only obliged to make up for the missed fasting days. And Allah Knows Best.