Sunan Ibn Majah
Sunan Ibn Majah 1565
حَدَّثَنَا الْعَبَّاسُ بْنُ الْوَلِيدِ الدِّمَشْقِيُّ، حَدَّثَنَا يَحْيَى بْنُ صَالِحٍ، حَدَّثَنَا سَلَمَةُ بْنُ كُلْثُومٍ، حَدَّثَنَا الأَوْزَاعِيُّ، عَنْ يَحْيَى بْنِ أَبِي كَثِيرٍ، عَنْ أَبِي سَلَمَةَ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ صَلَّى عَلَى جِنَازَةٍ ثُمَّ أَتَى قَبْرَ الْمَيِّتِ فَحَثَى عَلَيْهِ مِنْ قِبَلِ رَأْسِهِ ثَلاَثًا .
Unreviewed translation. All hadiths in this collection are available in five languages. Titles and introductions may remain in Arabic.
Al-Abbas ibn al-Walid al-Dimashqi narrated to us; Yahya ibn Salih narrated to us; Salamah ibn Kulthum narrated to us; al-Awza‘i narrated to us, from Yahya ibn Abi Kathir, from Abu Salamah, from Abu Hurayrah: ‘The Messenger of Allah (peace and blessings be upon him) performed a funeral prayer, then went to the deceased’s grave and cast three handfuls of earth over it from the head end.’
Notes and open questions — unreviewed
The source specifies three handfuls and says they were cast from the head side of the grave.