It was narrated that Hisham bin ‘Amir said: “We complained to the Messenger of Allah صلی اللہ علیہ وآلہ وسلم on the day of Uhud, saying: ‘Messenger of Allah صلی اللہ علیہ وآلہ وسلم it is too difficult for us to dig a grave for each person.’ The Messenger of Allah صلی اللہ علیہ وآلہ وسلم said: ‘Dig graves and make them good and deep, and bury two or three in one grave.’ They said: ‘Who should we put in first, Messenger of Allah صلی اللہ علیہ وآلہ وسلم ?‘ He said: ‘Put in first the one who knew more Qur’an.” He said: “My father was the third of three in one grave.” (Sahih)