Transliteration: Fasbir 'alaa maa yaqooloona wa sabbih bihamdi Rabbika qabla tuloo'ish shamsi wa qablal ghuroob
Translation (Yusuf Ali): Bear, then, with patience, all that they say, and celebrate the praises of thy Lord, before the rising of the sun and before (its) setting.
This is verse 39 of Surah Qaf (قٓ , meaning "Qaf"), the 50th surah of the Quran. It is a Meccan surah with 45 total verses.
This verse is referenced in the following Quranic topics: Timings of Prayers.