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." (ID)
English reference (ID): Vol. 3, Book 22, Hadith 2700 (ID)
Arabic reference (ID): Book 22, Hadith 2804 (ID)