Some of the wives of the Prophet ﷺ reported,

The Messenger of Allah ﷺ fell ill with a sickness that caused him intense distress and pain. She said, "I said, 'Messenger of Allah, you are showing distress and discomfort. If a woman among us did this, we would find it strange of her.'"He replied, "Do you not know that hardship is intensified upon the believer so that it may serve as an expiation for his sins?"

Azami 9327

Sahih

عن بعض أزواج النبي ﷺ قالت

مرض رسول الله ﷺ مرضا اشتد منه ضجره أو وجعه، قالت: فقلت: يا رسول الله، إنك لتجزع أو تضجر، لو فعلته امرأة منا عجبت منها! قال: أوما علمت أن المؤمن يشدد عليه ليكون كفارة لخطاياه؟

الأعظمي 9327صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Biography of the Prophet ﷺ
Chapter
Nearness of his death, his foretelling of it, his passing, and his burial
Section
Illness of the Messenger of Allah ﷺ
Numbering
Jami al-Kamil 9327 (2nd edition)
Azami 9327