Arabic hadith text
حَدَّثَنِي يَحْيَى، عَنْ مَالِكٍ، عَنْ هِشَامِ بْنِ عُرْوَةَ، عَنْ أَبِيهِ، أَنَّ عَبْدَ اللَّهِ بْنَ الأَرْقَمِ، كَانَ يَؤُمُّ أَصْحَابَهُ فَحَضَرَتِ الصَّلاَةُ يَوْمًا فَذَهَبَ لِحَاجَتِهِ ثُمَّ رَجَعَ فَقَالَ إِنِّي سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ ‏"‏ إِذَا أَرَادَ أَحَدُكُمُ الْغَائِطَ فَلْيَبْدَأْ بِهِ قَبْلَ الصَّلاَةِ ‏"‏ ‏.‏
Translation

Yahya related to me from Malik from Hisham ibn Urwa from hisfather that Abdullah ibn al-Arqam used to lead his companions inprayer. The time for prayer came one day and he went to relievehimself. When he returned, he said, "I heard the Messenger of Allah,may Allah bless him and grant him peace, say, 'If you wish todefecate, you should do so before the prayer.' "