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

It was narrated that Abu Al-Aliyah said: "Ibn Abbas said: "On the morning of Al-Aqabah, while he was on his mount, the Messenger of Allah said to me: "Pick up (some pebbles) for me." So I picked up some pebbles for him that were the size of date stones or fingertips, and when I placed them in his hand he said: "Like these. And beware of going to extremes in religious matters, for those who came before you were destroyed because of going to extremes in religious matters."

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

sunnah.com