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:115

And be patient, for indeed, Allah does not allow to be lost the reward of those who do good.  

And be patient, O Muhammad (s), in ˹enduring˺ the harm inflicted ˹upon you˺ by your people, or in ˹performing˺ prayer, for indeed God does not waste the wage of those who are virtuous, by patiently enduring through ˹acts of˺ obedience ˹to God˺.
القرآن:١١:١١٥

وَاصْبِرْ فَإِنَّ اللَّهَ لَا يُضِيعُ أَجْرَ الْمُحْسِنِينَ  

{واصبر} يا محمد على أذى قومك أو على الصلاة {فإن الله لا يضيع أجر المحسنين} بالصبر على الطاعة.