We migrated with the Messenger of Allah ﷺ seeking the face of Allah the Exalted, so our reward became due upon Allah. Among us were those who died without consuming any of their reward. One of them was Musab bin Umayr, who was killed on the day of Uhud. We could not find anything to shroud him in except a striped cloak. Whenever we covered his head with it, his feet would be exposed, and whenever we covered his feet with it, his head would be exposed. So the Messenger of Allah ﷺ instructed us to cover his head with it and place idhkhir grass over his feet. And among us were those whose fruit had ripened, and they were harvesting it.The wording is that of Ismail.
أخبرنا عبيد الله بن سعيد قال حدثنا يحيى عن الأعمش ح و أخبرنا إسمعيل بن مسعود قال حدثنا يحيى بن سعيد القطان قال سمعت الأعمش قال سمعت شقيقا قال
هاجرنا مع رسول الله ﷺ نبتغي وجه الله تعالى فوجب أجرنا على الله فمنا من مات لم يأكل من أجره شيئا منهم مصعب بن عمير قتل يوم أحد فلم نجد شيئا نكفنه فيه إلا نمرة كنا إذا غطينا رأسه خرجت رجلاه وإذا غطينا بها رجليه خرجت رأسه فأمرنا رسول الله ﷺ أن نغطي بها رأسه ونجعل على رجليه إذخرا ومنا من أينعت له ثمرته فهو يهدبها واللفظ لإسمعيل
Bukhari narrated it, in the merits of the Ansar, chapter on the emigration of the Prophet ﷺ and his companions to Madinah, hadith no. 3914, from the hadith of Yahya Qattan, and Muslim, in funerals, chapter on the shroud of the deceased, hadith no. 940, from the hadith of Amash with the same wording. It is also found in Kubra, hadith no. 2030.