Jami` at-Tirmidhi, Book 29, Hadith 9 (Tirmidhi 2165)
Ibn 'Abbas narrated that the Messenger of Allah(S.A.W) said:
"Give the shares of inheritance to those who are entitled to them. As for what remains, then it is for the closet male relative." Another chain reports similar narration.