Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:3381Abū ʿAlī al-Rūdhbārī > Muḥammad b. Bakr > Abū Dāwud > ʿUthmān b. Abū Shaybah > Jarīr b. ʿAbd al-Ḥamīd > ʿĀṣim al-Aḥwal > ʿĪsá b. Ḥiṭṭān > Muslim b. Sallām > ʿAlī b. Ṭalq

[Machine] The Messenger of Allah, ﷺ , said: "If one of you becomes distracted during prayer, they should withdraw and perform ablution again and redo their prayer." This allows for the repetition of the prayer and it is also narrated by Al-Miswar ibn Makhrama from the companions.  

البيهقي:٣٣٨١وَقَدْ أَخْبَرَنَا أَبُو عَلِيٍّ الرُّوذْبَارِيُّ أنبأ مُحَمَّدُ بْنُ بَكْرٍ ثنا أَبُو دَاوُدَ ثنا عُثْمَانُ بْنُ أَبِي شَيْبَةَ ثنا جَرِيرُ بْنُ عَبْدِ الْحَمِيدِ عَنْ عَاصِمٍ الْأَحْوَلِ عَنْ عِيسَى بْنِ حِطَّانَ عَنْ مُسْلِمِ بْنِ سَلَّامٍ عَنْ عَلِيِّ بْنِ طَلْقٍ قَالَ

قَالَ رَسُولُ اللهِ ﷺ إِذَا فَسَا أَحَدُكُمْ فِي الصَّلَاةِ فَلْيَنْصَرِفْ فَلْيَتَوَضَّأْ وَلْيُعِدْ صَلَاتَهُ وَهَذَا يُصَرِّحُ بِإِعَادَةِ الصَّلَاةِ وَبِهِ قَالَ الْمِسْوَرُ بْنُ مَخْرَمَةَ مِنَ الصَّحَابَةِ  


See similar narrations below:

Collected by Abū Dāwūd
abudawud:205ʿUthmān b. Abū Shaybah > Jarīr b. ʿAbd al-Ḥamīd > ʿĀṣim al-Aḥwal > ʿĪsá b. Ḥiṭṭān > Muslim b. Salāam > ʿAlī b. Ṭalq

The Messenger of Allah ﷺ said: When any of you breaks wind during the prayer, he should turn away and perform ablution and repeat the prayer.  

أبو داود:٢٠٥حَدَّثَنَا عُثْمَانُ بْنُ أَبِي شَيْبَةَ حَدَّثَنَا جَرِيرُ بْنُ عَبْدِ الْحَمِيدِ عَنْ عَاصِمٍ الأَحْوَلِ عَنْ عِيسَى بْنِ حِطَّانَ عَنْ مُسْلِمِ بْنِ سَلاَّمٍ عَنْ عَلِيِّ بْنِ طَلْقٍ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ إِذَا فَسَا أَحَدُكُمْ فِي الصَّلاَةِ فَلْيَنْصَرِفْ فَلْيَتَوَضَّأْ وَلْيُعِدِ الصَّلاَةَ  

abudawud:1005ʿUthmān b. Abū Shaybah > Jarīr b. ʿAbd al-Ḥamīd > ʿĀṣim al-Aḥwal > ʿĪsá b. Ḥiṭṭān > Muslim b. Salāam > ʿAlī b. Ṭalq

When any of you breaks wind during prayer, he must withdraw, perform ablution, and repeat the prayer.  

أبو داود:١٠٠٥حَدَّثَنَا عُثْمَانُ بْنُ أَبِي شَيْبَةَ حَدَّثَنَا جَرِيرُ بْنُ عَبْدِ الْحَمِيدِ عَنْ عَاصِمٍ الأَحْوَلِ عَنْ عِيسَى بْنِ حِطَّانَ عَنْ مُسْلِمِ بْنِ سَلاَّمٍ عَنْ عَلِيِّ بْنِ طَلْقٍ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ إِذَا فَسَا أَحَدُكُمْ فِي الصَّلاَةِ فَلْيَنْصَرِفْ فَلْيَتَوَضَّأْ وَلْيُعِدْ صَلاَتَهُ