Sunan Ibn Majah, Book 22, Hadith 2818 (In-Book)

It was narrated that Anas bin Malik said: “I was under the she-camel of the Messenger of Allah and its saliva was dripping between my shoulders, and I heard him say: 'Allah (SWT) has given each person who has rights his rights, but there is no bequest for an heir.”

حَدَّثَنَا هِشَامُ بْنُ عَمَّارٍ، حَدَّثَنَا مُحَمَّدُ بْنُ شُعَيْبِ بْنِ شَابُورَ، حَدَّثَنَا عَبْدُ الرَّحْمَنِ بْنُ يَزِيدَ بْنِ جَابِرٍ، عَنْ سَعِيدِ بْنِ أَبِي سَعِيدٍ، أَنَّهُ حَدَّثَهُ عَنْ أَنَسِ بْنِ مَالِكٍ، قَالَ إِنِّي لَتَحْتَ نَاقَةِ رَسُولِ اللَّهِ صلى الله عليه وسلم يَسِيلُ عَلَىَّ لُعَابُهَا فَسَمِعْتُهُ يَقُولُ ‏ "‏ إِنَّ اللَّهَ قَدْ أَعْطَى كُلَّ ذِي حَقٍّ حَقَّهُ أَلاَ لاَ وَصِيَّةَ لِوَارِثٍ ‏" ‏ ‏.‏

sunnah.com