The Prophet ﷺ said, "Do not curse time, for Allah is time itself."
حدثنا هوذة حدثنا عوف عن خلاس ومحمد
عن النبي ﷺ قال لا تسبوا الدهر فإن الله هو الدهر
No references are available.
Its isnad is sahih. It will come again at 10316, and it has also already come recently.