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.
Is it permissible for one to masturbate in order not to commit fornication?
This is called committing the milder of the two evils such as eating a carcass in fear of death, and this happens when committing fornication is very likely to occur.
After I had prayed, I found a drop of menstrual blood and was unsure when that happened; what is the ruling on my prayer and fast?
All praise is due to Allah, peace and blessing be upon the Messenger of Allah.
Your prayer and fast are correct ,and you should not make up for them, and we ask Allah, The Almighty, to duely reward you for these acts of worship. Your menses start once you see blood because the situation remains as such unless there is certainty or predominant conjecture, as per the Fiqh maxim: "Certainty is not removed by doubt". And Allah Knows Best.
After a month and a half from the end of postpartum bleeding, my wife occasionally finds a small amount of blood, and she is breastfeeding. What is this blood, and should she fast and pray when she experiences it?
This is postpartum bleeding, so she should not fast or pray until she sees the signs of purity, unless it exceeds sixty days, as the maximum duration for postpartum bleeding is sixty days, and the majority of women experience forty days. If it exceeds sixty days, it is considered irregular bleeding (Istihada). It would be advisable to consult a doctor after the sixty days. And Allah Knows Best.