conditions for the validity of salaah

Finding out the qiblah direction

Q: Me and my father were in a new town at the time of salaah. My father used some kind of compass and found the Qiblah direction. The next day we found the Qiblah to be different, as my father made some kind of mistake or the compass didn’t work properly, maybe 90 degrees in different direction was what we originally faced. Must the salaah read in the wrong direction be repeated?