عَنْ أَبِي أَيُّوبَ الأَنْصَارِيِّ رضي الله عنه أَنَّ النَّبِيَّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ قَالَ: «إِذَا أَتَيْتُمُ الغَائِطَ فَلاَ تَسْتَقْبِلُوا القِبْلَةَ، وَلاَ تَسْتَدْبِرُوهَا وَلَكِنْ شَرِّقُوا أَوْ غَرِّبُوا» قَالَ أَبُو أَيُّوبَ: فَقَدِمْنَا الشَّأْمَ فَوَجَدْنَا مَرَاحِيضَ بُنِيَتْ قِبَلَ القِبْلَةِ فَنَنْحَرِفُ، وَنَسْتَغْفِرُ اللَّهَ تَعَالَى.
The Prophet (may Allah's peace and blessings be upon him) forbade the one who wants to relieve himself by urinating or defecating from facing the Qiblah and the direction of the Ka‘bah and from turning his back to it by making it behind his back. Rather, he should turn away from that direction towards the east or the west in case his Qiblah is like that of the people of Madīnah.
Then, Abu Ayyūb (may Allah be pleased with him) reported that when they went to the Levant, they found the lavatories, which were set up for answering the call of nature, built facing the direction of the Ka‘bah. So, they used to divert their bodies from the Qiblah and seek forgiveness from Allah despite that.
Download for free and never miss a prayer again