ENOfficial
Ibn ‘Umar said that God’s Messenger stayed ten years in Medina, and that he used to observe the sacrifice. Tirmidhi transmitted it.
Source: sunnah.com
Other translations
Arabic
وَعَنِ ابْنِ عُمَرَ قَالَ: أَقَامَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ بِالْمَدِينَةِ عَشْرَ سِنِينَ يُضحي. رَوَاهُ التِّرْمِذِيّ
sunnah.com