The Prophet ﷺ said that Allah says, "The son of Adam offends Me by cursing time, for I am time. The matter is in My hand. I alternate the night and the day."Ibn Sarh said "from Ibn al-Musayyab" in place of Saeed, and Allah knows best.
حدثنا محمد بن الصباح بن سفيان وابن السرح قالا حدثنا سفيان عن الزهري عن سعيد
عن النبي ﷺ يقول الله عز وجل يؤذيني ابن آدم يسب الدهر وأنا الدهر بيدي الأمر أقلب الليل والنهار قال ابن السرح عن ابن المسيب مكان سعيد والله أعلم
Bukhari reported it in the Tafsir, Surah Jathiyah, chapter "Nothing destroys us but time," and in Adab, chapter on the prohibition of cursing time, hadith 2246, from the hadith of Sufyan, hadith 4826, and Muslim reported it in Alfaz, from Ibn Uyayna, with the same chain. [Finished and completed, praise be to Allah ].