Is wearing a cap permissible for boys, or girls?
All Perfect Praise is due to Allah, The Lord of The Worlds.
In principle, anything is permissible sol long as there is no Sharia evidence prohibiting it, thus wearing the cap by boys is permissible as long as it isn`t done in imitation of the disbelievers. Moreover, a Muslim woman should avoid all that which attracts the attention of men because whatever leads to the forbidden is forbidden. And Allah Knows Best.
How is night prayer offered?
Night prayer is offering voluntary prayer after Maghrib and before Fajr (Dawn). As for Tahajjud, it is offering voluntary prayer at night after waking up voluntarily, and for Allah`s sake as He Says (What means): "And pray in the small watches of the morning: (it would be) an additional prayer (or spiritual profit) for thee: soon will thy Lord raise thee to a Station of Praise and Glory!" [Al-Isra`/79]. Offering Tahajjud is better than offering voluntary prayer before going to bed.
What is the difference between Tahajjud prayer and night prayer, and do they have a particular Witr prayer other than that of Isha (evening prayer)?
Tahajjud and Qiyam-Al-Lail (night prayer) are two words for the same meaning which is offering voluntary prayer at night after sunset, but before dawn break. However, Tahajjud is offered after waking up; whereas, Qiyam-Al-Lail is permissible before sleeping, or after it. Therefore, every Tahajjud is a Qiyam, but not every Qiyam is a Tahajjud. Moreover, there is no specified Witr for both of them, but Witr after Isha is by itself the Witr of Qiyam, and it is a Sunnah to postpone it until after Qiyam if the worshiper thought that he was most probably going to wake up in order to offer it, but if he wasn`t sure of waking up, then he is at liberty to offer it before going to bed as was reported in the Prophet`s Hadith.
I suffer from excessive gas, especially when I pray, and I redo my ablution more than seven times. I have obsessive thoughts about this matter, even though I went to a doctor and was given medication that did not help. What should I do?
If the release of gas stops at certain times between prayers, you should wait for that time, perform ablution, and pray. However, if it is continuous, you should perform ablution after the prayer time begins and pray, and the release of gas during the prayer is excused. And Allah The Almighty Knows Best.