Is the prayer of someone who didn`t face Quibla (Ka`ba direction) valid?
All perfect praise be to Allah,The Lord of The Worlds. Facing the Quibla is a condition for the validity of prayer, and the prayer of the person who hadn`t faced the direction of the Quibla is invalid, and he is obliged to repeat it. And Allah Knows Best.
What is teh ruling on thoughtless oath?
One who swears by Allah unintentionally and isn`t determined to fulfill his oath, nothing is due on him. Allah, The Almighty, Says (What means): "God will not call you to account for thoughtlessness in your oaths, but for the intention in your hearts; and He is Oft-forgiving, Most Forbearing." [Al-Baqarah/225]. However, it is dispraised for a Muslim to swear frequently.
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.
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.