Jami` at-Tirmidhi 2710
Grading supplied with this record: Hasan (Darussalam)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
ارْجِعْ فَقُلِ السَّلاَمُ عَلَيْكُمْ أَأَدْخُلُ "
Narrated 'Amr bin Abi Sufyan:
that 'Amr bin 'Abdullah bin Safwan informed him, that Kaladah bin Hanbal had informed him, that Safwan bin Umayyah sent him to bring some milk, colostrum, and Daghabis (a type of herb) to the Prophet (ﷺ) while he was in the upper valley. (He said): "I entered upon him without seeking permission nor giving Salam. The Prophet (ﷺ) said: 'Go back and say: As-Salamu Alaykum, may I enter?'" And that was after Safwan had accepted Islam."
Full reference and source
Jami` at-Tirmidhi 2710 In-book : Book 42, Hadith 23 English translation : Vol. 5, Book 40, Hadith 2710
View source on Sunnah.com (opens in a new tab)