Abdullah bin Abbas reported,

When Umar رضي الله عنه died, I mentioned this to Ayesha رضي الله عنها, and she said, "May Allah have mercy on Umar. By Allah, the Messenger of Allah ﷺ did not say that Allah punishes a believer because of his family's weeping over him. Rather, the Messenger of Allah ﷺ said, 'Allah increases the punishment of the disbeliever because of his family's weeping over him.'"She added, "The Quran is enough for you, 'No bearer of burdens shall bear the burden of another' [Fatir 35:18]."At that point Ibn Abbas رضي الله عنهم said, "By Allah, it is 'He who makes one laugh and weep' [Najm 53:43]."Ibn Abu Mulayka said, "By Allah, Ibn Umar رضي الله عنهم said nothing in response."

Bukhari 1288

Sahih

قال

ابن عباس رضي الله عنهما

فلما مات عمر رضي الله عنه ذكرت ذلك لعائشة رضي الله عنها فقالت رحم الله عمر والله ما حدث رسول الله ﷺ إن الله ليعذب المؤمن ببكاء أهله عليه ولكن رسول الله ﷺ قال إن الله ليزيد الكافر عذابا ببكاء أهله عليه وقالت حسبكم القرآن {ولا تزر وازرة وزر أخرى} قال ابن عباس رضي الله عنهما عند ذلك والله {هو أضحك وأبكى} قال ابن أبي مليكة والله ما قال ابن عمر رضي الله عنهما شيئا

البخاري 1288صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Funerals
Chapter
Prophet's ﷺ saying, "The deceased is punished by some of the weeping of his family over him" if wailing was his practice
Numbering
Darussalam 1288
Bukhari 1288