Jabir bin Abdullah reported,

The Messenger of Allah ﷺ dispatched us, placing Abu Ubayda in command, to intercept a caravan belonging to Quraysh. He provided us with a sack of dates as provisions, finding nothing else to give us. Abu Ubayda would hand each of us a single date at a time.I asked, "What did you do with it?"He replied, "We would suck on it as a child sucks, then drink water afterward, and that would suffice us for the day until nightfall. We would also beat down leaves from the trees with our staffs, moisten them with water, and eat them."We continued along the seashore until something resembling a massive sand dune rose into view on the coast. When we reached it, we found it was a creature called the ambergris whale.Abu Ubayda first said, "It is dead carrion."Then he said, "No, rather we are the envoys of the Messenger of Allah ﷺ, traveling in the path of Allah, and you are in dire need, so eat."We stayed there a full month, three hundred men in number, until we grew fat. I saw us scooping oil from the socket of its eye with large jars, and cutting from it slabs of meat as big as a bull, or like the size of a bull. Abu Ubayda took thirteen men from among us and seated them inside the socket of its eye. He took one of its ribs and propped it upright, then saddled the largest camel we had with us, and the camel passed beneath it. We took strips of its meat as provisions for the journey.When we arrived at Madinah, we came to the Messenger of Allah ﷺ and told him about it. He said, "It is sustenance which Allah has brought forth for you. Do you have any of its meat with you that you might feed us?"So we sent some of it to the Messenger of Allah ﷺ, and he ate from it.

Muslim 4998

Sahih

حدثنا أحمد بن يونس حدثنا زهير حدثنا أبو الزبير عن جابر ح و حدثناه يحيى بن يحيى أخبرنا أبو خيثمة عن أبي الزبير

عن جابر قال

بعثنا رسول الله ﷺ وأمر علينا أبا عبيدة نتلقى عيرا لقريش وزودنا جرابا من تمر لم يجد لنا غيره فكان أبو عبيدة يعطينا تمرة تمرة قال فقلت كيف كنتم تصنعون بها قال نمصها كما يمص الصبي ثم نشرب عليها من الماء فتكفينا يومنا إلى الليل وكنا نضرب بعصينا الخبط ثم نبله بالماء فنأكله قال وانطلقنا على ساحل البحر فرفع لنا على ساحل البحر كهيئة الكثيب الضخم فأتيناه فإذا هي دابة تدعى العنبر قال قال أبو عبيدة ميتة ثم قال لا بل نحن رسل رسول الله ﷺ وفي سبيل الله وقد اضطررتم فكلوا قال فأقمنا عليه شهرا ونحن ثلاث مائة حتى سمنا قال ولقد رأيتنا نغترف من وقب عينه بالقلال الدهن ونقتطع منه الفدر كالثور أو كقدر الثور فلقد أخذ منا أبو عبيدة ثلاثة عشر رجلا فأقعدهم في وقب عينه وأخذ ضلعا من أضلاعه فأقامها ثم رحل أعظم بعير معنا فمر من تحتها وتزودنا من لحمه وشائق فلما قدمنا المدينة أتينا رسول الله ﷺ فذكرنا ذلك له فقال هو رزق أخرجه الله لكم فهل معكم من لحمه شيء فتطعمونا قال فأرسلنا إلى رسول الله ﷺ منه فأكله

مسلم 4998صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Hunting, slaughtering, and what may be eaten of animals
Chapter
Permissibility of sea carrion
Numbering
Darussalam 4998
Muslim 4998