Ibn 'Umar (RA) reported that Umar (RA) kissed the Stone and said: I am kissing you, whereas I know that you are a stone, but I saw Allah's Messenger (ﷺ) kissing you (that is why I kiss you).
Hadith ReferenceSahih Muslim / The Book of Pilgrimage / Hadith: 1270