The Book of Purification and its Sunnah 1:659
It was narrated that 'Abdullah bin Arqam said:
"The Messenger of Allah said: 'If anyone of you needs to defecate and the immediate call to prayer (Iqamah) is given, let him start with (relieving himself).'"