Ruling on praying without facing the Qibla without seeking it

Question
I prayed in my friend's house without seeking the Qibla, and it became clear to me after the prayer that it was wrong. What is the ruling on my prayer? And am I sinful for that?
Answer
I say, and with God's help: The prayer is invalid; because there is someone who asks and you did not ask, and God knows best.
imam icon

Send your question to the smart assistant

If the previous answers are not appropriate, please send your question to the Mufti via