From Sahih Muslim (Hadith 3068):
Ibn 'Umar (Allah be pleased with them) reported that Umar (Allah be pleased with him) 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)
Reference: Muslim 3068