What are hadiths about goodness (khayr)? Examples of hadiths about goodness (khayr)…
According to Abu Hurayra (ra), the Messenger of Allah (saw) approached some people who were sitting by the road side, and said, “Shall I not inform you of the best of you from your worst?” They fell silent, so he repeated it three times, and then a man said, “Of course, O Messenger of Allah! Inform us of the best among us from our worst.” He said, “The best of you is the one whose goodness is hoped for, and people are safe from his evil. And the worst of you is he whose goodness is not hoped for, and people are not safe from his evil.’” (al-Tirmidhi, al-Fitan, 76; Ibn Hanbal, II, 368)
According to Anas b. Malik (ra), the Messenger of Allah (saw) said, “Some people open the door to good and close the door to evil, and some people open the door to evil and close the door to good. Glad tidings to those in whose hands Allah places the keys to good, and woe to those in whose hands Allah places the keys to evil.” (Ibn Maja, al-Sunna, 19)
According to ʿAli b. Abi Talib (ra), the Messenger of Allah (saw) said the following when he got up for ritual prayer: “I turn my face in complete devotion to the One Who is the Originator of the heaven and the earth and I am not one of the polytheists. Verily my prayer, my sacrifice, my living and my dying are for Allah, the Lord of the Worlds… Here I am at Your service, and Grace is to You and the whole of good is in Your hand, and one cannot get near to You through evil.” (Muslim, al-Musafirin, 201)
According to Anas b. Malik (ra), the Messenger of Allah (saw) said, “How blessed is the believer! Anything that Allah ordains will serve in his favor.” (Ibn Hanbal, V, 25)
Jabir b. ʿAbd Allah (ra) said, “the Messenger of Allah (saw) used to teach us to consult on every single issue as if he was teaching the Qurʾan.” (al-Bukhari, al-Tahajjud, 25)
Source: Presidency Of Religious Affairs The Turkey, Islam Through Hadiths