USC-MSA web (English) : Book 20, Hadith 114
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
وَحَدَّثَنِي عَنْ مَالِكٍ، عَنْ هِشَامِ بْنِ عُرْوَةَ، عَنْ أَبِيهِ، أَنَّهُ قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم لِعَبْدِ الرَّحْمَنِ بْنِ عَوْفٍ كَيْفَ صَنَعْتَ يَا أَبَا مُحَمَّدٍ فِي اسْتِلاَمِ الرُّكْنِ " . فَقَالَ عَبْدُ الرَّحْمَنِ اسْتَلَمْتُ وَتَرَكْتُ . فَقَالَ لَهُ رَسُولُ اللَّهِ صلى الله عليه وسلم " أَصَبْتَ " ."
Yahya related to me from Malik from Hisham ibn Urwa that his father said that the Messenger of Allah (ﷺ) once said to Abd ar-Rahman ibn Awf, "What do you do, Abu Muhammad, when saluting the corner?" and Abd ar-Rahman said, "Sometimes I salute it, and sometimes I don't." The Messenger of Allah (ﷺ) said, "You are right."
Full reference and source
USC-MSA web (English) : Book 20, Hadith 114 Arabic : Book 20, Hadith 817
View source on Sunnah.com (opens in a new tab)