Man Lā Yaḥḍuruh al-Faqīh

Hadith 846
prayer-etiquette
847 - وَ رَوَى زُرَارَةُ وَ مُحَمَّدُ بْنُ مُسْلِمٍ عَنْ أَبِي جَعْفَرٍ عَلَيْهِ اَلسَّلاَمُ أَنَّهُ قَالَ: «يُجْزِي اَلْمُتَحَيِّرَ أَبَداً أَيْنَمَا تَوَجَّهَ إِذَا لَمْ يَعْلَمْ أَيْنَ وَجْهُ اَلْقِبْلَةِ.
Hadith.847 – Zurarah and Muhammad ibn Muslim narrated from Imam Muhammad ibn Ali Al-Baqir (as) that He said: "For one who is confused (about the direction of the Qiblah), it suffices for him to pray in whichever direction he faces if he does not know where the Qiblah is."
Source: Shaykh Muḥammad b. ʿAlī al-Ṣaduq