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:18009Abū ʿAbdullāh al-Ḥāfiẓ > Abū ʿAlī al-Ḥusayn b. ʿAlī al-Ḥāfiẓ > Abū Khalīfah > Musaddad > Abū ʿAwānah > Saʿīd b. Masrūq > ʿAbāyah b. Rifāʿah b. Rāfiʿ b. Khadīj from his grandfather Rāfiʿ b. Khadīj

[Machine] We were with the Messenger of Allah ﷺ in Thul-Hulayfah when the people were struck with hunger. So we obtained camels and sheep. The Messenger of Allah ﷺ was among the last ones, so the people hurried, slaughtered, and set up the cooking pots. The Messenger of Allah ﷺ sent for the pots and they were brought to him. He ordered them to be filled and then he distributed them, giving one camel's portion to a group of ten people.  

البيهقي:١٨٠٠٩أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أَخْبَرَنِي أَبُو عَلِيٍّ الْحُسَيْنُ بْنُ عَلِيٍّ الْحَافِظُ أنبأ أَبُو خَلِيفَةَ ثنا مُسَدَّدٌ ثنا أَبُو عَوَانَةَ عَنْ سَعِيدِ بْنِ مَسْرُوقٍ عَنْ عَبَايَةَ بْنِ رِفَاعَةَ بْنِ رَافِعِ بْنِ خَدِيجٍ عَنْ جَدِّهِ رَافِعِ بْنِ خَدِيجٍ ؓ قَالَ

كُنَّا مَعَ رَسُولِ اللهِ ﷺ بِذِي الْحُلَيْفَةِ فَأَصَابَ النَّاسَ جُوعٌ فَأَصَبْنَا إِبِلًا وَغَنَمًا وَكَانَ رَسُولُ اللهِ ﷺ فِي أُخْرَيَاتِ النَّاسِ فَعَجِلُوا وَذَبَحُوا وَنَصَبُوا الْقُدُورَ فَدَفَعَ إِلَيْهِمْ رَسُولُ اللهِ ﷺ فَأَمَرَ بِالْقُدُورِ فَأُكْفِئَتْ ثُمَّ قَسَمَ فَعَدَلَ عَشْرًا مِنَ الْغَنَمِ بِبَعِيرٍ  

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ مُوسَى بْنِ إِسْمَاعِيلَ عَنْ أَبِي عَوَانَةَ

See similar narrations below:

Collected by Bayhaqī
bayhaqi:20435Abū ʿAbdullāh al-Ḥāfiẓ > Abū ʿAlī al-Ḥusayn b. ʿAlī al-Ḥāfiẓ > Abū Khalīfah > Musaddad > Abū ʿAwānah > Saʿīd b. Masrūq > ʿAbāyah b. Rifāʿah b. Rāfiʿ b. Khadīj from his grandfather Rāfiʿ b. Khadīj

[Machine] We were with the Messenger of Allah ﷺ at Dhi al-Hulayfah when the people became hungry, so we acquired camels and sheep. The Messenger of Allah ﷺ was among the last to arrive, so they hurried and slaughtered and set up the pots. The Messenger of Allah ﷺ sent for the pots and commanded them to be filled. They were filled up, and then he divided ten portions of the sheep with one portion being equivalent to a full-grown camel. And he mentioned the hadith.  

البيهقي:٢٠٤٣٥أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أَخْبَرَنِي أَبُو عَلِيٍّ الْحُسَيْنُ بْنُ عَلِيٍّ الْحَافِظُ أنبأ أَبُو خَلِيفَةَ ثنا مُسَدَّدٌ ثنا أَبُو عَوَانَةَ عَنْ سَعِيدِ بْنِ مَسْرُوقٍ عَنْ عَبَايَةَ بْنِ رِفَاعَةَ بْنِ رَافِعِ بْنِ خَدِيجٍ عَنْ جَدِّهِ رَافِعِ بْنِ خَدِيجٍ ؓ قَالَ

كُنَّا مَعَ رَسُولِ اللهِ ﷺ بِذِي الْحُلَيْفَةِ فَأَصَابَ النَّاسَ جُوعٌ فَأَصَبْنَا إِبِلًا وَغَنَمًا وَكَانَ رَسُولُ اللهِ ﷺ فِي أُخْرَيَاتِ النَّاسِ فَعَجِلُوا فَذَبَحُوا وَنَصَبُوا الْقُدُورَ فَدَفَعَ إِلَيْهِمْ رَسُولُ اللهِ ﷺ فَأَمَرَ بِالْقُدُورِ فَأُكْفِئَتْ ثُمَّ قَسَمَ فَعَدَلَ عَشْرًا مِنَ الْغَنَمِ بِبَعِيرٍ وَذَكَرَ الْحَدِيثَ  

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ مُوسَى بْنِ إِسْمَاعِيلَ وَغَيْرِهِ عَنْ أَبِي عَوَانَةَ وَأَخْرَجَاهُ مِنْ أَوْجُهٍ أُخَرَ عَنْ سَعِيدٍ