Sahih Muslim , Book 11, Hadith 26 (In-Book)

Anas reported that when 'Umar b. Khattab was wounded Hafsa lamented for him. Upon this he said: O Hafsa, did you not hear the Messenger of Allah saying:" One who is lamented would be punished"? Suhaib also lamented over him. 'Umar told him also: O Suhaib, didn't you know that one who is lamented is punished?

وَحَدَّثَنِي عَمْرٌو النَّاقِدُ، حَدَّثَنَا عَفَّانُ بْنُ مُسْلِمٍ، حَدَّثَنَا حَمَّادُ بْنُ سَلَمَةَ، عَنْ ثَابِتٍ، عَنْ أَنَسٍ، أَنَّ عُمَرَ بْنَ الْخَطَّابِ، لَمَّا طُعِنَ عَوَّلَتْ عَلَيْهِ حَفْصَةُ فَقَالَ يَا حَفْصَةُ أَمَا سَمِعْتِ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ ‏"‏ الْمُعَوَّلُ عَلَيْهِ يُعَذَّبُ ‏"‏ ‏.‏ وَعَوَّلَ عَلَيْهِ صُهَيْبٌ فَقَالَ عُمَرُ يَا صُهَيْبُ أَمَا عَلِمْتَ ‏"‏ أَنَّ الْمُعَوَّلَ عَلَيْهِ يُعَذَّبُ ‏"‏ ‏.‏

sunnah.com