Hadith 19.2
Prayer
‘Abdallah b. ‘Amr reported God’s Messenger as saying, “When one of you breaks wind when he has sat at the end of his prayer before giving the salutation, his prayer is valid.” Tirmidhi transmitted it saying that this is a tradition whose <i>isnad</i> is not strong, and there is confusion about its <i>isnad</i>.
وَعَنْ عَبْدِ اللَّهِ بْنِ عَمْرٍو قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «إِذَا أحدث أدكم وَقَدْ جَلَسَ فِي آخِرِ صَلَاتِهِ قَبْلَ أَنْ يُسَلِّمَ فَقَدْ جَازَتْ صَلَاتُهُ» . رَوَاهُ التِّرْمِذِيُّ وَقَالَ: هَذَا حَدِيثٌ إِسْنَادُهُ لَيْسَ بِالْقَوِيِّ وَقَدِ اضْطَرَبُوا فِي إِسْنَاده
Hadith gradings, numbering and translations can differ between editions. For legal rulings or detailed interpretation, consult qualified scholarship and the referenced edition.