the Messenger of Allah ﷺ say in his sermon, during the year of the Farewell pilgrimage: “Allah (SWT) has given each person who has rights his rights, and there is no bequest for in heir.” (Using translation from Ibn Mājah 2713)
سَمِعْتُ رَسُولَ اللهِ ﷺ يَقُولُ فِي خُطْبَتِهِ فِي حِجَّةِ الْوَدَاعِ إِنَّ اللهَ ﷻ قَدْ أَعْطَى كُلَّ ذِي حَقٍّ حَقَّهُ لَا وَصِيَّةَ لِوَارِثٍ