كتاب الألفاظ من الأدب وغيرها
40  
The Book Concerning the Use of Correct Words
(1)
Chapter: The Prohibition Of Cursing Time
(1)
باب النَّهْىِ عَنْ سَبِّ الدَّهْرِ، ‏‏
Sahih Muslim 2246 a

Abu Huraira reported:

I heard Allah's Messenger (ﷺ) as saying: Allah, the Exalted and Glorious, said: The son of Adam abuses Dahr (the time), whereas I am Dahr since in My hand are the day and the night.
حَدَّثَنِي أَبُو الطَّاهِرِ، أَحْمَدُ بْنُ عَمْرِو بْنِ سَرْحٍ وَحَرْمَلَةُ بْنُ يَحْيَى قَالاَ أَخْبَرَنَا ابْنُ وَهْبٍ، حَدَّثَنِي يُونُسُ، عَنِ ابْنِ شِهَابٍ، أَخْبَرَنِي أَبُو سَلَمَةَ بْنُ عَبْدِ الرَّحْمَنِ، قَالَ قَالَ أَبُو هُرَيْرَةَ سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ ‏ "‏ قَالَ اللَّهُ عَزَّ وَجَلَّ يَسُبُّ ابْنُ آدَمَ الدَّهْرَ وَأَنَا الدَّهْرُ بِيَدِيَ اللَّيْلُ وَالنَّهَارُ ‏"‏ ‏.‏
Reference : Sahih Muslim 2246a
In-book reference : Book 40, Hadith 1
USC-MSA web (English) reference : Book 27, Hadith 5580
  (deprecated numbering scheme)