مُسْنَدُ أَحْمَدَ
Musnad Ahmad 4055
Musnad of Abdullah bin Mas'ood
It was narrated that Muhammad said: I was with Anas during a funeral; he instructed that the deceased should be brought into the grave from the end of the grave.
Musnad Ahmad 4081lts isnad is saheeh]