Sunan an-Nasa'i, Volume 3, Book 24, Hadith 2941 (DarusSalam)

It was narrated that Hanzalah said: "I saw tawus pass by the Corner. If he saw it crowded, he would pass by and he would not push his way in. And if he way it was free, he would kiss it three times, then he said: 'I saw Ibn Abbas doing that. Ibn Abbas said: 'I saw Umar bin Al-Khattab doing that, then he said: You are just a stone that can neither cause harm or bring benefit; were it not that I saw the Messenger ofAllah kissing you I would not have kissed you.' Then Umar said:b 'I saw the Messenger of Allah doing that.'"

أَخْبَرَنَا عَمْرُو بْنُ عُثْمَانَ، قَالَ حَدَّثَنَا الْوَلِيدُ، عَنْ حَنْظَلَةَ، قَالَ رَأَيْتُ طَاوُسًا يَمُرُّ بِالرُّكْنِ فَإِنْ وَجَدَ عَلَيْهِ زِحَامًا مَرَّ وَلَمْ يُزَاحِمْ وَإِنْ رَآهُ خَالِيًا قَبَّلَهُ ثَلاَثًا ثُمَّ قَالَ رَأَيْتُ ابْنَ عَبَّاسٍ فَعَلَ مِثْلَ ذَلِكَ وَقَالَ ابْنُ عَبَّاسٍ رَأَيْتُ عُمَرَ بْنَ الْخَطَّابِ فَعَلَ مِثْلَ ذَلِكَ ثُمَّ قَالَ إِنَّكَ حَجَرٌ لاَ تَنْفَعُ وَلاَ تَضُرُّ وَلَوْلاَ أَنِّي رَأَيْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم قَبَّلَكَ مَا قَبَّلْتُكَ ثُمَّ قَالَ عُمَرُ رَأَيْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم فَعَلَ مِثْلَ ذَلِكَ ‏.‏

sunnah.com