Book 21: He who does not greet a person who has committed a sin
Sahih al-Bukhari
Sahih al-Bukhari 6255
(Yahya) bin Bukair narrated to us that Laith told us. He narrated from Uqail, Uqail from Ibn Shihab, Ibn Shihab from Abdur Rahman bin Abdullah bin Ka'b, Abdur Rahman from Abdullah bin Ka'b. Abdullah said: I heard Hazrat Ka'b bin Malik (ra). He used to relate about the event when he stayed behind from Tabuk, that the Messenger of Allah (saw) forbade (people) to talk with us, and I would come to the Messenger of Allah (saw) and say As-salamu alaikum to him, and then say in my heart: Did he move his lips in returning the greeting or not? At last fifty nights were completed in this way, and the Prophet (saw) announced that our repentance had been accepted, at the time when he (saw) had offered the morning Prayer (Salat).
AI-translated by Islam-Today