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

Hadith 847
prayer-etiquette
848 - وَ سَأَلَهُ مُعَاوِيَةُ بْنُ عَمَّارٍ: عَنِ اَلرَّجُلِ يَقُومُ فِي اَلصَّلاَةِ ثُمَّ يَنْظُرُ بَعْدَ مَا فَرَغَ فَيَرَى أَنَّهُ قَدِ اِنْحَرَفَ عَنِ اَلْقِبْلَةِ يَمِيناً أَوْ شِمَالاً فَقَالَ لَهُ «قَدْ مَضَتْ صَلاَتُهُ وَ مَا بَيْنَ اَلْمَشْرِقِ وَ اَلْمَغْرِبِ قِبْلَةٌ.
Hadith.848 - Muawiya ibn Ammar asked Him about a man who stands for prayer and, after finishing, realizes that he had deviated to the right or the left of the Qiblah. Imam (as) replied: "His prayer is valid, for the area between the east and the west is (considered) the Qiblah."
Source: Shaykh Muḥammad b. ʿAlī al-Ṣaduq