قَالَ مَالِك : لَما بَأْسَ أَنْ يُدْفَنَ الرَّجُلانِ وَالثَّلاثَةُ فِي قَبْرٍ وَاحِدٍ مِنْ ضَرُورَةٍ، وَيُجْعَلَ الْأَكْبَرُ مِمَّا يَلِي الْقِبْلَةَ
Imam Malik, may Allah have mercy on him, said: If two or three people are buried in one grave out of necessity, there is no harm in it, but the eldest among them should be placed closest to the Qiblah.