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:38:32

And he said, "Indeed, I gave preference to the love of good ˹things˺ over the remembrance of my Lord until the sun disappeared into the curtain ˹of darkness˺."  

He said, ‘Lo! I have loved, I have desired, the love of ˹worldly˺ good things, that is, ˹of˺ horses, over the remembrance of my Lord’, that is, ˹over˺ the afternoon prayer, until it, that is, the sun, disappeared behind the ˹night’s˺ veil, ˹until˺ it was concealed by that which veils it from sight.
القرآن:٣٨:٣٢

فَقَالَ إِنِّي أَحْبَبْتُ حُبَّ الْخَيْرِ عَنْ ذِكْرِ رَبِّي حَتَّىٰ تَوَارَتْ بِالْحِجَابِ  

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