Dalil

Quran An-Nur 24:44

يُقَلِّبُ ٱللَّهُ ٱلَّيۡلَ وَٱلنَّهَارَۚ إِنَّ فِي ذَٰلِكَ لَعِبۡرَةٗ لِّأُوْلِي ٱلۡأَبۡصَٰرِ

Translation

Allāh alternates the night and the day. Indeed in that is a lesson for those who have vision.