Mishkat al-Masabih 1008
وَعَنْ عَبْدِ اللَّهِ بْنِ عَمْرٍو قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «إِذَا أحدث أدكم وَقَدْ جَلَسَ فِي آخِرِ صَلَاتِهِ قَبْلَ أَنْ يُسَلِّمَ فَقَدْ جَازَتْ صَلَاتُهُ» . رَوَاهُ التِّرْمِذِيُّ وَقَالَ: هَذَا حَدِيثٌ إِسْنَادُهُ لَيْسَ بِالْقَوِيِّ وَقَدِ اضْطَرَبُوا فِي إِسْنَاده
From ʿAbdullah ibn ʿAmr, who said: The Messenger of Allah ﷺ said: "When one of you breaks his wudu after he has sat at the end of his prayer, before giving the salam, his prayer is valid." Reported by at-Tirmidhi, who said: This is a hadith whose chain is not strong, and they have differed over its chain.