Sunan an-Nasa'i, Book 48, Hadith 250 (In-Book) ⓘ
It was narrated from Ibn 'Abbas that : The Messenger of Allah [SAW] took a ring and put it on, then he said: "This distracted me from you all day, shifting my gaze from it to you (and back again)." Then he threw it away.
أَخْبَرَنَا مُحَمَّدُ بْنُ عَلِيِّ بْنِ حَرْبٍ، قَالَ حَدَّثَنَا عُثْمَانُ بْنُ عُمَرَ، قَالَ حَدَّثَنَا مَالِكُ بْنُ مِغْوَلٍ، عَنْ سُلَيْمَانَ الشَّيْبَانِيِّ، عَنْ سَعِيدِ بْنِ جُبَيْرٍ، عَنِ ابْنِ عَبَّاسٍ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم اتَّخَذَ خَاتَمًا فَلَبِسَهُ قَالَ " شَغَلَنِي هَذَا عَنْكُمْ مُنْذُ الْيَوْمِ إِلَيْهِ نَظْرَةٌ وَإِلَيْكُمْ نَظْرَةٌ " . ثُمَّ أَلْقَاهُ .
also referenced under: Hadith 5289 (Reference) & Volume 6, Book 48, Hadith 5291 (DarusSalam)