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:2:45

And seek help through patience and prayer, and indeed, it is difficult except for the humbly submissive ˹to Allah˺  

Seek help, ask for assistance in your affairs, in patience, by restraining the soul in the face of that which it dislikes; and prayer. The singling out of this for mention is a way of emphasising its great importance; in one hadīth, ˹it is stated˺, ‘When something bothered the Prophet (s), he would immediately resort to prayer’; it is said that the address here is to the Jews: when greed and desire for leadership became impediments to their faith, they were enjoined to forbearance, which constituted fasting and prayer, since, the former stems from lust and the latter yields humility and negates pride. For it, prayer, is grievous, burdensome, except to the humble, those that are at peace in obedience,
القرآن:٢:٤٥

وَاسْتَعِينُوا بِالصَّبْرِ وَالصَّلَاةِ ۚ وَإِنَّهَا لَكَبِيرَةٌ إِلَّا عَلَى الْخَاشِعِينَ  

{واستعينوا} اطلبوا المعونة على أموركم {بالصبر} الحبس للنفس على ما تكره {والصلاة} أفردها بالذكر تعظيما لشأنها وفي الحديث (كان ﷺ إذا حزبه أمر بادر إلى الصلاة) وقيل الخطاب لليهود لما عاقهم عن الإيمان الشره وحب الرياسة فأمروا بالصبر وهو الصوم لأنه يكسر الشهوة والصلاة لأنها تورث الخشوع وتنفي الكبر {وإنها} أي الصلاة {لكبيرة} ثقيلة {إلا على الخاشعين} الساكنين إلى الطاعة.