Sahih Muslim Book 011, Hadith Number 3930.

Chapter : Give the inheritance to those entitled to it.

Ibn 'Abbas (Allah be pleased with them) reported Allah's Messenger (may peace be upon him) as saying: Give the shares to those who are entitled to them, and what is left from those who are entitled to it goes to the nearest male heir.