Is buying and storing gold bars for profit permissible or prohibited?
Buying and storing gold bars for profit is permissible, and there is no harm in it. And Allah The Almighty Knows Best.
Is it permissible for a wife to leave her house without obtaining the permission of her husband, and not to come back unless he divorces her co-wife?
It is forbidden for the wife to leave without obtaining her husband`s permission, and it is impermissible for her to ask him to divorce her co-wife as this inflicts harm on the latter and such an act is forbidden in Islamic law.
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.
Does passing wind, from the anus without a smell, invalidate prayer?
If a person is certain of having passed wind even if it was with no smell, then both his/her ablution and prayer are invalidated, thus he/she should remake ablution and re-perform prayer.