Surah Al-Baqarah, ayah 180

2:180

كُتِبَ عَلَيۡكُمۡ إِذَا حَضَرَ أَحَدَكُمُ ٱلۡمَوۡتُ إِن تَرَكَ خَيۡرًا ٱلۡوَصِيَّةُ لِلۡوَٰلِدَيۡنِ وَٱلۡأَقۡرَبِينَ بِٱلۡمَعۡرُوفِۖ حَقًّا عَلَى ٱلۡمُتَّقِينَ ١٨٠

Kutiba 'alaykum idhā hadara ahadakumul-mawtu in taraka khayranil-wasiyyatu lil-wālidayni wal-aqrabīna bil-ma'rūfi haqqan 'alal-muttaqīn

Prescribed for you when death approaches [any] one of you if he leaves wealth [is that he should make] a bequest for the parents and near relatives according to what is acceptable - a duty upon the righteous.65

Footnotes

65 This ruling was abrogated by the revelation in Sūrah an-Nisā’ stipulating obligatory shares for parents and close relatives. Those who do not inherit by law may be remembered in a bequest. See 4:11-12.