Is wearing a cap permissible for boys, or girls?

Is wearing a cap permissible for boys, or girls?

Answer:

In principle, anything is permissible as 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

This answer was collected from the official government Iftaa Department of Jordan.

Link