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.
What is the ruling on not offering prayer in a nearby mosque, and going to a distant one?
All perfect praise be to Allah the Lord of the Worlds. May Allah`s peace and blessings be upon our Prophet Mohammad and upon all his family and companions.
Praying in the nearby mosque takes precedence unless there was a circle of knowledge, or a larger congregation in the distant mosque provided that the congregational prayer in the nearby mosque isn`t undermined. And Allah Knows Best.
What is the ruling on someone who prays Fajr late, after sunrise, knowing that they wake up on time but return to sleep and do not perform it within its time?
It is obligatory to perform the prayer within its prescribed time. If someone wakes up and knows how to act, they must perform it before the time ends. If they delay it, they are sinful and must make it up. And Allah Knows Best.
How many Rak`ahs (unit of prayer) are offered in Witr prayer?
All perfect praise be to Allah, The Lord of The Worlds Witr (an odd number prayer performed between Isha`a and Fajr) is offered with a minimum of one Rak`ah, and a maximum of eleven, but offering three Rak`ahs is the minimum of its complete form. And Allah Knows Best.