Hadithcore
Mishkat al-Masabih, 1475

Ibn ‘Umar said that God’s Messenger stayed ten years in Medina, and that he used to observe the sacrifice. Tirmidhi transmitted it.

وَعَنِ ابْنِ عُمَرَ قَالَ: أَقَامَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ بِالْمَدِينَةِ عَشْرَ سِنِينَ يُضحي. رَوَاهُ التِّرْمِذِيّ

References1 variant
In-Book Reference
Book 4, Hadith 875