(17) The Book of the Prohibited actions
كتاب الأمور المنهي عنها
(302) Chapter: Prohibition of Bewailing the Deceased
(302) - باب تحريم النياحة على الميت ولطم الخد وشق الجيب ونتف الشعر وحلقه، والدعاء بالويل والثبور
Riyad as-Salihin 1660 
Al-Mughirah bin Shu'bah (May Allah be pleased with him) said:
I heard the Messenger of Allah (ﷺ) saying, "He who allows (others) to wail over his death, will be punished for it on the Day of Resurrection."

[Al-Bukhari and Muslim].

وعن المغيرة بن شعبة رضي الله عنه قال ‏:‏سمعت رسول الله صلى الله عليه وسلم يقول ‏ "‏من نِيح عليه، فإنه يُعذب بما نِيح عليه يوم القيامة‏"‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏‏.‏
Reference : Riyad as-Salihin 1660
In-book reference : Book 17, Hadith 150