Sunan Abi Dawud, Book 20, Hadith 3130 (USC-MSA)

Narrated Anas ibn Malik: The Messenger of Allah passed Hamzah who was killed and disfigured. He said: If Safiyyah were not grieved, I would have left him until the birds and beasts of prey would have eaten him, and he would have been resurrected from their bellies. The garments were scanty and the slain were in great number. So one, two and three persons were shrouded in one garment. The narrator Qutaybah added: They were then buried in one grave. The Messenger of Allah asked: Which of the two learnt the Qur'an more? He then advanced him toward the qiblah (direction of prayer).

حَدَّثَنَا عُثْمَانُ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا زَيْدٌ، - يَعْنِي ابْنَ الْحُبَابِ - ح وَحَدَّثَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، حَدَّثَنَا أَبُو صَفْوَانَ، - يَعْنِي الْمَرْوَانِيَّ - عَنْ أُسَامَةَ، عَنِ الزُّهْرِيِّ، عَنْ أَنَسِ بْنِ مَالِكٍ، - الْمَعْنَى - أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم مَرَّ عَلَى حَمْزَةَ وَقَدْ مُثِّلَ بِهِ فَقَالَ ‏"‏ لَوْلاَ أَنْ تَجِدَ صَفِيَّةُ فِي نَفْسِهَا لَتَرَكْتُهُ حَتَّى تَأْكُلَهُ الْعَافِيَةُ حَتَّى يُحْشَرَ مِنْ بُطُونِهَا ‏"‏ ‏.‏ وَقَلَّتِ الثِّيَابُ وَكَثُرَتِ الْقَتْلَى فَكَانَ الرَّجُلُ وَالرَّجُلاَنِ وَالثَّلاَثَةُ يُكَفَّنُونَ فِي الثَّوْبِ الْوَاحِدِ - زَادَ قُتَيْبَةُ - ثُمَّ يُدْفَنُونَ فِي قَبْرٍ وَاحِدٍ فَكَانَ رَسُولُ اللَّهِ صلى الله عليه وسلم يَسْأَلُ ‏"‏ أَيُّهُمْ أَكْثَرُهُمْ قُرْآنًا ‏"‏ ‏.‏ فَيُقَدِّمُهُ إِلَى الْقِبْلَةِ ‏.‏

sunnah.com