Sunan Ibn Majah, Book 22, Hadith 2804 (In-Book) ⓘ
It was narrated from Anas bin Malik that the Messenger of Allah said: “The one who is deprived is the one who is deprived of a will.”
حَدَّثَنَا نَصْرُ بْنُ عَلِيٍّ الْجَهْضَمِيُّ، حَدَّثَنَا دُرُسْتُ بْنُ زِيَادٍ، حَدَّثَنَا يَزِيدُ الرَّقَاشِيُّ، عَنْ أَنَسِ بْنِ مَالِكٍ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " الْمَحْرُومُ مَنْ حُرِمَ وَصِيَّتَهُ " .
also referenced under: Hadith 2700 (Reference) & Volume 3, Book 22, Hadith 2700 (DarusSalam)