The Messenger of Allah ﷺ said, "Do not say, 'What a disappointing time!' for Allah is the One who controls time. And do not call grapes karm."
حدثنا عبد الأعلى عن معمر عن الزهري عن أبي سلمة
أن رسول الله ﷺ قال لا تقولوا خيبة الدهر إن الله هو الدهر ولا تسموا العنب الكرم
Its chain of transmission is sahih. Bukhari 10:465 narrated it from Ayyash bin Walid, from Abdul-Ala, with this same chain, except that he placed the prohibition against naming grapes before the prohibition against saying "the misfortune of time," reversing the order. Muslim 2:196-197 narrated something similar, dividing it into two separate hadiths, through different routes. He also narrated it with the same meaning as a single hadith, through the narration of Ibn Sirin from Abu Hurairah. Something similar in meaning has already passed, divided into two hadiths, numbers 7244 and 7256, regarding his saying "the misfortune of time."It appears here without the vocative letter "ya," which agrees with the narration of Bukhari. Hafiz said, "This is how it appears in most versions, while in the version of Nasafi," meaning one of the narrators of the Sahih, "it reads, ya khaybatad-dahr [O misfortune of time], and in sources other than Bukhari it reads, wa khaybatad-dahr." Khaybah, with a fatha on the khaa and a silent yaa followed by a baa, means deprivation or disappointment. It is in the accusative case as an exclamation of lament, as though time itself had lost what it produces of things one dislikes, so he laments over it in grief, or expresses pain because of it.