It is narrated from Ata bin Yasar (may Allah be pleased with him) that the Prophet (ﷺ) pronounced the takbeer in one of the prayers, then gestured with his hand, "Wait," then returned, and there were traces of water on his skin.
Hadith Referenceمسند الإمام الشافعي / كتاب الصلاة / 323
Hadith Takhrijإسناده ضعيف لإرساله : أخرجه البيهقي في معرفة السنن والآثار : 1214 ۔ والبغوي في شرح السنة: 854۔
Through another chain, a narration with the same meaning as the previous hadith is reported from Abu Hurairah (may Allah be pleased with him) from the Prophet ﷺ.
Hadith Referenceمسند الإمام الشافعي / كتاب الصلاة / 324
Hadith Takhrijأخرجه البخاري : الغسل، باب إذا ذكر في المسجد أنه جنب يخرج كما هو ولا يتيمم: 275، 639، 640 - ومسلم: المساجد، باب متى يقوم الناس للصلاة : 605۔
It is narrated from Abdullah bin Arqam (may Allah be pleased with him) that he was leading his companions in prayer one day, then he went to relieve himself (appointing someone to lead in his place), and when he returned, he said: I heard the Messenger of Allah (ﷺ) say, "When any of you feels the need to relieve himself, he should do so before performing the prayer."
Hadith Referenceمسند الإمام الشافعي / كتاب الصلاة / 325
Hadith Takhrijأخرجه الترمذي: الطهارة، باب ما جاء إذا أقيمت الصلاة ووجد أحدكم الخلاء فليبدأ بالخلاء: 142 - وقال حسن صحيح۔ وأبو داود : الطهارة، باب أيصلي الرجل وهو حاقن: 88 ۔ والنسائي: الإمامة، باب العذر في ترك الجماعة : 853 ۔ وصححه ابن خزيمة : 932، 1652 ۔ والحاكم : 1/ 168، 257۔
It is narrated from Abdullah bin Arqam (may Allah be pleased with him) that he set out towards Makkah and some people from his tribe accompanied him. He used to lead them in prayer. (Once) the prayer was established and he took hold of a man and put him forward, and said: The Messenger of Allah (ﷺ) said: "When the congregation is established and any of you feels the need to relieve himself, he should first relieve himself."
Hadith Referenceمسند الإمام الشافعي / كتاب الصلاة / 326
Hadith Takhrijأخرجه الترمذي: الطهارة، باب ما جاء إذا أقيمت الصلاة ووجد أحدكم الخلاء فليبدأ بالخلاء: 142 - وقال حسن صحيح۔ وأبو داود : الطهارة، باب أيصلي الرجل وهو حاقن: 88 ۔ والنسائي: الإمامة، باب العذر في ترك الجماعة : 853 ۔ وصححه ابن خزيمة : 932، 1652 ۔ والحاكم : 1/ 168، 257۔