NASAI-KUBRA 3904:
from Danā ʿUmar from al-Ḥajar Faqabbalah —
Abis bin Rabi’ah said on the authority of ‘Umar He(‘Umar) came to the (Black) Stone and said “ I know for sure that you are a stone which can neither benefit nor injure and had I not seen the Apostle of Allaah ﷺ kissing you, I would not have kissed you.” (Using translation from Abū Dāʾūd 1873)
الكبرى للنسائي ٣٩٠٤:
عن دنا عمر عن الحجر فقبله —
أَعْلَمُ أَنَّكَ حَجَرٌ لَا تَضُرُّ وَلَا تَنْفَعُ «وَلَوْلَا أَنِّي رَأَيْتُ رَسُولَ اللهِ ﷺ قَبَّلَكَ مَا قَبَّلْتُكَ»
hadithunlocked.com