The Chapter on Obligatory Prayers
Man Lā Yaḥḍuruh al-Faqīh|Volume 1|Book 1|Chapter 30
وَ قَدْ رُوِيَ: «أَنَّ اَللَّهَ تَبَارَكَ وتَعَالَى رَدَّ اَلشَّمْسَ عَلَى يُوشَعَ بْنِ نُونٍ وَصِيِّ مُوسَى عَلَيْهِ اَلسَّلاَمُ حَتَّى صَلَّى اَلصَّلاَةَ اَلَّتِي فَاتَتْهُ فِي وَقْتِهَا.
It is reported: "Allah سبحانه وتعالى, Blessed and Exalted, returned the sun for Yusha' ibn Nun (Joshua), the successor of Musa عليه السلام, so that he could perform the prayer that he had missed within its proper time."
- Ṣaḥīḥ al-Faqīh