IBNHIBBAN 2919:
from ʿĀʾishah —
[Machine] The Prophet ﷺ fell ill and he began to complain and toss on his bed. Aisha said to him, "If one of us did this, you would have found fault with him." The Prophet ﷺ replied, "Indeed, righteous people are tested, and a believer is not afflicted with a calamity greater than a thorn, except that it will be a means of removing his sins and raising his rank."
ابن حبّان ٢٩١٩:
عن عاءشه —
أَنَّ النَّبِيَّ ﷺ طَرَقَهُ وَجَعٌ فَجَعَلَ يَشْتَكِي وَيَتَقَلَّبُ عَلَى فِرَاشِهِ فَقَالَتْ لَهُ عَائِشَةُ لَوْ صَنَعَ هَذَا بَعْضُنَا لَوَجِدْتَ عَلَيْهِ فَقَالَ النَّبِيُّ ﷺ «إِنَّ الصَّالِحِينَ قَدْ يُشَدَّدُ عَلَيْهِمْ وَإِنَّهُ لَا يُصِيبُ مُؤْمِنًا نَكْبَةٌ مِنْ شَوْكَةٍ فَمَا فَوْقَهَا إِلَّا حُطَّتْ عَنْهُ بِهَا خَطِيئَةٌ وَرُفِعَ لَهُ بِهَا دَرَجَةٌ»
hadithunlocked.com