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.
A man cursed Allah, is he allowed to perform prayer without making Ghusl?
All perfect praise be to Allah the Lord of the Worlds. May Allah`s peace and blessings be upon our Prophet Mohammad and upon all his family and companions.
Cursing Allah is an act of apostasy and one who commits it must utter the testimonies of faith, make repentance, take back wife; however, it isn`t conditioned that he makes Ghusl (Full body ritual purification) to pray. And Allah The Almighty Knows Best.
I can`t afford to get married, what should I do to curb my sexual drives?
You should offer a lot of voluntary fasting, keep busy with useful and permissible acts and make supplication to Allah, The Exalted.
Does wiping over one's socks during ablution permissible?
If the socks were thick, then wiping over them during ablution is permissible so long as wiping conditions are observed. And Allah Knows Best.