حَدَّثَنَا أَحْمَدُ بْنُ رِشْدِينَ الْمِصْرِيُّ، ثنا يُوسُفُ بْنُ عَدِيٍّ، ثنا رِشْدِينُ، عَنْ قُرَّةَ، وَيُونُسَ، وَعُقَيْلٍ، عَنِ ابْنِ شِهَابٍ، حَدَّثَنِي عَطَاءُ بْنُ يَزِيدَ، أَنَّهُ سَمِعَ أَبَا أَيُّوبَ، يَقُولُ: نَهَى رَسُولُ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ أَنْ يَسْتَقْبِلَ الَّذِي يُرِيدُ الْغَائِطَ الْقِبْلَةَ وَقَالَ: «شَرِّقُوا وَغَرِّبُوا»
Sayyiduna Abu Ayyub (may Allah be pleased with him) said: The Messenger of Allah (peace and blessings be upon him) forbade the one intending to relieve himself from facing the qiblah, and he said: "Turn towards the east or the west."