Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:11:11

Except for those who are patient and do righteous deeds; those will have forgiveness and great reward.  

save, but, those who endure, misery, ˹patiently˺ and perform righteous deeds, during times of comfort; theirs will be forgiveness and a great reward, which is Paradise.
القرآن:١١:١١

إِلَّا الَّذِينَ صَبَرُوا وَعَمِلُوا الصَّالِحَاتِ أُولَٰئِكَ لَهُمْ مَغْفِرَةٌ وَأَجْرٌ كَبِيرٌ  

{إلا} لكن {الذين صبروا} على الضراء {وعملوا الصالحات} في النعماء {أولئك لهم مغفرة وأجر كبير} هو الجنة.