Narrated Abdullah ibn Amr ibn al-'As: The Prophet (ﷺ) said: When the Imam completes the prayer and sits (for reciting tashahhud), and then becomes defiled (i.e. his ablution becomes void) before he speaks (to someone), his prayer becomes complete. And those who prayed behind him also complete the prayer
Hadith No. 617
Sunan Abu Dawud
Gradings:
Al-Albani:
Daif
Muhammad Muhyi Al-Din Abdul Hamid:
Daif
Shuaib Al Arnaut:
Daif
Zubair Ali Zai:
Daif