Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:5028[Chain 1] Abū Manṣūr al-ʿAlawī > Abū Jaʿfar b. Duḥaym > Aḥmad b. Ḥāzim > Muḥammad b. Kunāsah al-Asadī > Hishām b. ʿUrwah from his father > ʿAbdullāh b. al-Arqam > Abū Zakariyyā b. Abū Isḥāq al-Muzakkī And ʾAbū Bakr b. al-Ḥasan al-Qāḍī > Abū al-ʿAbbās Muḥammad b. Yaʿqūb > al-Rabīʿ b. Sulaymān > al-Shāfiʿī > Mālik [Chain 2] Abū Ṭāhir al-Faqīh > ʿAlī b. Ḥamshādh > al-Ḥārith b. Abū Usāmah > Isḥāq b. ʿĪsá b. al-Ṭabbāʿ > Mālik > Hishām from his father > ʿAbdullāh b. al-Arqam

[Machine] I heard the Messenger of Allah ﷺ saying, "When one of you finds defecation, let him start with it before the prayer." This is the narration of Imam Al-Shafi'i and in the narration of Al-Alawi, he said about the Prophet ﷺ , "When the prayer approaches and a man wants to go to the toilet, let him start with relieving himself."  

البيهقي:٥٠٢٨أَخْبَرَنَا أَبُو مَنْصُورٍ الْعَلَوِيُّ أنبأ أَبُو جَعْفَرِ بْنُ دُحَيْمٍ ثنا أَحْمَدُ بْنُ حَازِمٍ ثنا مُحَمَّدُ بْنُ كُنَاسَةَ الْأَسَدِيُّ ثنا هِشَامُ بْنُ عُرْوَةَ عَنْ أَبِيهِ عَنْ عَبْدِ اللهِ بْنِ الْأَرْقَمِ وَأَخْبَرَنَا أَبُو زَكَرِيَّا بْنُ أَبِي إِسْحَاقَ الْمُزَكِّي وَأَبُو بَكْرِ بْنُ الْحَسَنِ الْقَاضِي قَالَا ثنا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ أنبأ الرَّبِيعُ بْنُ سُلَيْمَانَ أنبأ الشَّافِعِيُّ أنبأ مَالِكٌ ح وَأَخْبَرَنَا أَبُو طَاهِرٍ الْفَقِيهُ أنبأ عَلِيُّ بْنُ حَمْشَاذٍ ثنا الْحَارِثُ بْنُ أَبِي أُسَامَةَ ثنا إِسْحَاقُ بْنُ عِيسَى بْنِ الطَّبَّاعِ عَنْ مَالِكٍ عَنْ هِشَامٍ عَنْ أَبِيهِ عَنْ عَبْدِ اللهِ بْنِ الْأَرْقَمِ أَنَّهُ كَانَ يَؤُمُّ أَصْحَابَهُ يَوْمًا فَذَهَبَ لِحَاجَتِهِ ثُمَّ رَجَعَ فَقَالَ

سَمِعْتُ رَسُولَ اللهِ ﷺ يَقُولُ إِذَا وَجَدَ أَحَدُكُمُ الْغَائِطَ فَلْيَبْدَأْ بِهِ قَبْلَ الصَّلَاةِ لَفْظُ حَدِيثِ الشَّافِعِيِّ وَفِي حَدِيثِ الْعَلَوِيِّ قَالَ عَنِ النَّبِيِّ ﷺ إِذَا حَضَرَتِ الصَّلَاةُ وَأَرَادَ الرَّجُلُ الْخَلَاءَ فَلْيَبْدَأْ بِالْخَلَاءِ