Sure Al-Furqaan

25:62

وَهُوَ ٱلَّذِى جَعَلَ ٱلَّيْلَ وَٱلنَّهَارَ خِلْفَةًۭ لِّمَنْ أَرَادَ أَن يَذَّكَّرَ أَوْ أَرَادَ شُكُورًۭا

Und Er ist es, Der die Nacht und den Tag so gemacht hat, daß sie sich voneinander für jemanden unterscheiden, der bedenken oder Dankbarkeit zeigen will.

Tafsir 25:62

It is Allah who made the night and day follow and replace each other, for anyone who wishes to take a lesson from Allah’s signs and come onto the right path, or wishes to be grateful to Allah for His favours.