Ibn 'Umar (May Allah be pleased with them) said:
The Messenger of Allah (ﷺ) visited Sa'd bin 'Ubadah during his illness. He was accompanied by 'Abdur-Rahman bin 'Auf, Sa'd bin Abu Waqqas and 'Abdullah bin Mas'ud (May Allah be pleased with them). When they entered his house, they found him unconscious. The Messenger of Allah asked, "Has he died?" They replied: "No, O Messenger of Allah." Hearing this the Messenger of Allah (ﷺ) began to weep. When his Companions saw this, they also began to weep too. He said, "Listen attentively: Allah does not punish for the shedding of tears or the grief of the heart, but takes to task or show mercy because of the utterances of this (and he pointed to his tongue)."[Al- Bukhari and Muslim].
App reference: Book 18, Hadith 153
Arabic/English book reference: Book 18, Hadith 1663