Hisham b. ‘Amir told that the Prophet said on the day of Uhud, “Dig graves, make them wide, deep and beautiful, bury two or three together in a single grave, and put first the one who knew most of the Qur’an.”
Ahmad, Tirmidhi, Abu Dawud and Nasa'i transmitted it, and Ibn Majah transmitted up to “beautiful”.
On the day of Uhud my paternal aunt brought my father to bury him in our cemetery, but God’s messenger’s crier called out, “Take back the dead to the place where they fell.”
Ahmad, Tirmidhi Abu Dawud, Nasa'i and Darimi transmitted it, the wording being Tirmidhi’s.
‘Urwa b. az-Zubair said there were two men in Medina, one of whom made a niche when digging a grave, the other of whom did not. The people said that the one who came first should do as he was accustomed to do, and the one who made a niche came and made one for God’s messenger.