Sahih Muslim, Book 15, Hadith 270 (Muslim 3035)

Ibn 'Umar (Allah be pleased with them) reported:

I have not abandoned touching of Yamani corners (and kissing of) the Stone since I saw Allah's messneger (ﷺ) touching them both In hardship and ease.