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:94:5

For indeed, with hardship ˹will be˺ ease.  

For truly with hardship comes ease.
القرآن:٩٤:٥

فَإِنَّ مَعَ الْعُسْرِ يُسْرًا  

{فإن مع العسر} الشدة {يسرا} سهولة.

See similar narrations below:

Collected by Qurʾān
quran:94:6

Indeed, with hardship ˹will be˺ ease.  

Truly with hardship comes ease: the Prophet (s) suffered much hardship at the hands of the disbelievers, but then he enjoyed ease when he was assisted to victory ˹by God˺ over them.
القرآن:٩٤:٦

إِنَّ مَعَ الْعُسْرِ يُسْرًا  

{إن مع العسر يسراً} والنبي ﷺ قاسى من الكفار شدة ثم حصل له اليسر بنصره عليهم.