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

Lord of the heavens and the earth and that between them and Lord of the sunrises.  

Lord of the heavens and the earth and all that is between them, and Lord of the sun’s risings, that is, as well as the sun’s settings — each day it ˹the sun˺ has a rising and a setting.
القرآن:٣٧:٥

رَبُّ السَّمَاوَاتِ وَالْأَرْضِ وَمَا بَيْنَهُمَا وَرَبُّ الْمَشَارِقِ  

{ربُّ السماوات والأرض وما بينهما وربُّ المشارق} أي والمغارب للشمس، لها كل يوم مشرق ومغرب.

See similar narrations below:

Collected by Qurʾān
quran:44:7

Lord of the heavens and the earth and that between them, if you would be certain.  

Lord of the heavens and the earth and all that is between them (read rabbu’l-samāwāti, in the nominative ˹to understand it˺ as a third predicate; or read rabbi’l-samāwāti as a substitution for rabbika, ‘your Lord’), if you should be certain, O people of Mecca, that God, exalted be He, is the Lord of the heavens and the earth, then also be certain that Muhammad (s) is His Messenger.
القرآن:٤٤:٧

رَبِّ السَّمَاوَاتِ وَالْأَرْضِ وَمَا بَيْنَهُمَا ۖ إِنْ كُنْتُمْ مُوقِنِينَ  

{رب السماوات والأرض وما بينهما} برفع رب خبر ثالث وبجره بدل من ربك {إن كنتم} يا أهل مكة {موقنين} بأنه تعالى رب السماوات والأرض فأيقنوا بأن محمداً رسوله.
quran:38:66

Lord of the heavens and the earth and whatever is between them, the Exalted in Might, the Perpetual Forgiver."  

Lord of the heavens and the earth and all that is between them, the Mighty, Whose way ˹always˺ prevails, the ˹ever˺ Forgiving’, of His friends.
القرآن:٣٨:٦٦

رَبُّ السَّمَاوَاتِ وَالْأَرْضِ وَمَا بَيْنَهُمَا الْعَزِيزُ الْغَفَّارُ  

{رب السماوات والأرض وما بينهما العزيز} الغالب على أمره {الغفار} لأوليائه.