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.
hakim:5025ʿAmr b. Muḥammad b. Manṣūr al-ʿAdl > ʿUmar b. Ḥafṣ al-Sadūsī > ʿĀṣim b. ʿAlī > Abū Maʿshar > Ibrāhīm b. ʿUbayd b. Rifāʿah b. Rāfiʿ b. Mālik b. ʿAjlān al-Anṣārī from his father from his grandfather Rāfiʿ b. Mālik

[Machine] "I arrived on the day of Badr, but we had lost the Messenger of Allah ﷺ. So the companions called out to each other asking, 'Is the Messenger of Allah ﷺ among you?' They all stood still until the Messenger of Allah ﷺ came, accompanied by Ali ibn Abi Talib. They said, 'O Messenger of Allah, we have missed you.' He replied, 'Verily, Abu Hassan (referring to himself) experienced discomfort in his stomach, so I stayed behind with him.' Al-Dhahabi remained silent about this in his summary."  

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

أَقْبَلْتُ يَوْمَ بَدْرٍ فَفَقَدْنَا رَسُولَ اللَّهِ ﷺ فَنَادَتِ الرِّفَاقُ بَعْضُهَا بَعْضًا أَفِيكُمْ رَسُولُ اللَّهِ ﷺ؟ فَوَقَفُوا حَتَّى جَاءَ رَسُولُ اللَّهِ ﷺ وَمَعَهُ عَلِيُّ بْنُ أَبِي طَالِبٍ فَقَالُوا يَا رَسُولَ اللَّهِ فَقَدْنَاكَ فَقَالَ «إِنَّ أَبَا حَسَنٍ وَجَدَ مَغَصًا فِي بَطْنِهِ فَتَخَلَّفْتُ عَلَيْهِ» سكت عنه الذهبي في التلخيص  


See similar narrations below:

Collected by Ṭabarānī
tabarani:4548ʿUmar b. Ḥafṣ al-Sadūsī > ʿĀṣim b. ʿAlī Abū Maʿshar > Ibrāhīm b. ʿUbayd b. Rifāʿah b. Rāfiʿ b. Mālik b. ʿAjlān al-Anṣārī from his father from his grandfather > Aqbalnā

[Machine] We arrived at the day of Badr and we lost the Messenger of Allah ﷺ. So, the companions called each other, saying, "Is the Messenger of Allah ﷺ among you?" They stood still until the Messenger of Allah ﷺ came with Ali ibn Abi Talib. They said, "O Messenger of Allah, we have lost you." He said, "Indeed, Aba Hassan suffered from a stomach ache, so I stayed behind to attend to him."  

الطبراني:٤٥٤٨حَدَّثَنَا عُمَرُ بْنُ حَفْصٍ السَّدُوسِيُّ ثنا عَاصِمُ بْنُ عَلِيٍّ أَبُو مَعْشَرٍ عَنْ إِبْرَاهِيمَ بْنِ عُبَيْدِ بْنِ رِفَاعَةَ بْنِ رَافِعِ بْنِ مَالِكِ بْنِ عَجْلَانَ الْأَنْصَارِيِّ عَنْ أَبِيهِ عَنْ جَدِّهِ قَالَ

أَقْبَلْنَا يَوْمَ بَدْرٍ فَفَقَدْنَا رَسُولَ اللهِ ﷺ فَنَادَتِ الرِّفَاقُ بَعْضُهَا بَعْضًا أَفِيكُمْ رَسُولُ اللهِ ﷺ؟ فَوَقَفُوا حَتَّى جَاءَ رَسُولُ اللهِ ﷺ مَعَهُ عَلِيُّ بْنُ أَبِي طَالِبٍ ؓ فَقَالُوا يَا رَسُولَ اللهِ فَقَدْنَاكَ فَقَالَ «إِنَّ أَبَا حَسَنٍ وَجَدَ مَغَصًا فِي بَطْنِهِ فَتَخَلَّفْتُ عَلَيْهِ»