Chapter on the Qiblah (Direction of Prayer)
Tahdhīb al-Aḥkām|Volume 2|Book 1|Chapter 5
وَ عَنْهُ عَنْ مُحَمَّدِ بْنِ يَحْيَى عَنْ أَحْمَدَ بْنِ مُحَمَّدٍ عَنِ اِبْنِ أَبِي عُمَيْرٍ عَنْ هِشَامِ بْنِ سَالِمٍ عَنْ سُلَيْمَانَ بْنِ خَالِدٍ قَالَ: قُلْتُ لِأَبِي عَبْدِ اَللَّهِ عَ اَلرَّجُلُ يَكُونُ فِي قَفْرٍ مِنَ اَلْأَرْضِ فِي يَوْمِ غَيْمٍ فَيُصَلِّي لِغَيْرِ اَلْقِبْلَةِ ثُمَّ يُصْحِي فَيَعْلَمُ أَنَّهُ صَلَّى لِغَيْرِ اَلْقِبْلَةِ كَيْفَ يَصْنَعُ قَالَ« إِنْ كَانَ فِي وَقْتٍ فَلْيُعِدْ صَلاَتَهُ وَ إِنْ كَانَ مَضَى اَلْوَقْتُ فَحَسْبُهُ اِجْتِهَادُهُ»
Narrated from him from Muhammad ibn Yahya from Ahmad ibn Muhammad from Ibn Abi ‘Umayr from Hisham ibn Salim from Sulayman ibn Khalid, who said:
I said to Abu Abdillah عليه السلام: "A man is in a remote land on a cloudy day and prays not facing the qiblah, then the sky clears and he realizes that he prayed in the wrong direction, what should he do?" Imam عليه السلام said: "If he is still within the time (of that prayer), then he should repeat his prayer. But if the time has passed, then his effort (ijtihad) suffices him."
- Tahdhīb al-Aḥkām fī Sharḥ al-Muqniʿah, vol. 2, p. 51
- Ṣaḥīḥ al-Tahdhīb