Hadithcore
Mishkat al-Masabih, 1740

Al-Mughira b. Shu'ba said he heard God’s messenger say, “If people wail for anyone he will be punished for it on the day of resurrection.” (Bukharl and Muslim.)

عَنِ الْمُغِيرَةِ بْنِ شُعْبَةَ قَالَ: سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسلم يَقُول: «من نِيحَ عَلَيْهِ فَإِنَّهُ يُعَذَّبُ بِمَا نِيحَ عَلَيْهِ يَوْم الْقِيَامَة»

References1 variant
In-Book Reference
Book 5, Hadith 212