نا الْحُسَيْنُ بْنُ إِسْمَاعِيلَ ، نا مُحَمَّدُ بْنُ عَبْدِ الرَّحِيمِ صَاعِقَةُ ، نا أَبُو الْمُنْذِرِ إِسْمَاعِيلُ بْنُ عُمَرَ ، نا وَرْقَاءُ ، عَنْ سَعْدِ بْنِ سَعِيدٍ ، عَنْ عُمَرَ بْنِ ثَابِتٍ ، عَنْ أَبِي أَيُّوبَ ، قَالَ : قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " لا تَسْتَقْبِلُوا الْقِبْلَةَ وَلا تَسْتَدْبِرُوهَا بِغَائِطٍ وَلا بَوْلٍ وَلَكِنْ شَرِّقُوا أَوْ غَرِّبُوا " .
Sayyiduna Abu Ayyub Ansari (may Allah be pleased with him) narrates: The Noble Prophet (peace and blessings be upon him) said: "Do not face the Qiblah while defecating or urinating, nor turn your back towards it. Rather (from the perspective of Madinah), face towards the east or the west."