Surah Taha 20:130
فَٱصْبِرْ عَلَىٰ مَا يَقُولُونَ وَسَبِّحْ بِحَمْدِ رَبِّكَ قَبْلَ طُلُوعِ ٱلشَّمْسِ وَقَبْلَ غُرُوبِهَا ۖ وَمِنْ ءَانَآئِ ٱلَّيْلِ فَسَبِّحْ وَأَطْرَافَ ٱلنَّهَارِ لَعَلَّكَ تَرْضَىٰ
So be patient over what they say and exalt [Allāh] with praise of your Lord before the rising of the sun and before its setting; and during periods of the night [exalt Him] and at the ends of the day, that you may be satisfied.
Translation: Saheeh International
Tafsir
So be patient with what they say — this is abrogated by the ‘fighting’ verse cf. Q. 2190ff — and make glorifications pray by praising your Lord bi-hamdi rabbika is a circumstantial qualifier in other words ‘ensconced in such praise’ before the rising of the sun the morning prayer and before its setting — the afternoon …
Excerpt from Tafsir al-Jalalayn, commentary on 20:130, via Quran.com. The reader has the full commentary and 9 more tafsirs.