Sunan Ibn Majah, Book 23, Hadith 17 (Ibn Majah 2737)

It was narrated from Abu Hurairah that the Messenger of Allah (ﷺ) said:

“The killer does not inherit.”