Chapter: Hadith Qudsi or Sacred Hadith 4 al-Bukhari,Muslim

On the authority of Abu Hurayrah (may Allah be pleased with him), who said thatthe Messenger of Allah (PBUH) said: Allah said:
Sons of Adam inveigh against [the vicissitudes of] Time, and I am Time, in My hand is the night and the day (1).
As the Almighty is the Ordainer of all things, to inveigh aginst misfortunesthat are part of Time is tantamount to inveighing against Him.