Is Buying a house in installments through banks?
Taking a loan from interest-based banks is prohibited and considered a major sin. Instead Getting a loan from Islamic banks is considered Murabaha and can be used as an alternative, provided all the necessary Islamic conditions are met. And Allah Knows Best.
Is prayer nullified by having thoughts while performing it?
Prayer isn`t nullified by having thoughts while performing it, provided that the praying person offers all of its pillars and meets all of its conditions. However, the reward decreases significantly in the absence of reverence since a praying person is rewarded according to the attentiveness of his/her heart during prayer.
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 when the duration of the monthly period varies, and sporadically increases?
If the period didn`t exceed (15) days from the first seeing of blood discharges until its end including the times of temporary cessation, then it is menses. But, if the period exceeded (15) days, then the woman experiencing this is Mostahadah (bleeding outside the time of monthly period), and should abide by her regular period, and consult one of the scholars.