Maliks Muwatta Book 21, Hadith Number 50.

Section : Burial in One Grave by Necessity and Abu Bakr’s (PBUH), Carrying Out the Promise of the Messenger of Allah (PBUH), After the Death of the Messenger (PBUH).

Yahya related to me from Malik from Abd ar-Rahman ibn Abi Sasaca that he had heard that Amr ibn al-Jamuh al-Ansari and Abdullah ibn Umar al-Ansari, both of the tribe of Banu Salami, had their grave uncovered by a flood. Their grave was part of what was left after the flood. They were in the same grave, and they were among those martyred at Uhud. They were dug up so that they might be moved. They were found unchanged. It was as if they had died only the day before. One of them had been wounded, and he had put his hand over his wound and had been buried like that. His hand was pulled away from his wound and released, and it returned to where it had been. It was forty-six years between Uhud and the day they were dug up.

Malik said, “There is no harm in burying two or three men in the same grave due to necessity. The oldest one is put next to the qibla.”