Allah's Messenger (S) said: "When he commits Hadath - meaning a man - and he is sitting in the end of his Salat before saying the Taslim, then his Salat is acceptable."
Reference: Jami` at-Tirmidhi 408 In-book : Book 2, Hadith 261 English translation : Vol. 1, Book 2, Hadith 408
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.