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.
After buying tires, I made an oath not to buy tires from a person. Afterwards, he offered his entire car for sale. What is the ruling on this?
If you bought the entire car and in order to be on the safe side, you should pay an expiation; feeding 10 poor people and the cost of feeding a person is half a JD. And Allah Knows Best.
What should a praying person who doubts having offered one, or two prostrations in the third Rakah (unit of prayer) do?
Whoever has doubts about their prayer should consider what is less i.e. the above person should offer another Sajda (prostration) and complete his/her prayer, then offer Sujood As-Sahw (prostration of forgetfulness). And Allah Knows Best.
What is the ruling on the ablution of one who touches women prohibited to him by a temporary prohibition (mahram bi-hurma mu'aqqata)?
It is prohibited to touch a woman who is temporarily prohibited (meaning one whom it becomes permissible to marry after the impediment is removed, such as the wife of a brother or paternal uncle). Touching her without a barrier invalidates ablution. And Allah the Almighty knows best.