Musnad Ahmad 331
It was narrated from ‘Umar that he said:
Allah, may He be glorified and exalted, sent Muhammad (ﷺ) with the truth, and He sent down with him the Book. One of the things that were revealed to him was the verse of stoning. The Messenger of Allah (ﷺ) stoned [adulterers] and we stoned [them] after him. Then he said: We used to recite, `Do not forsake your real father (and attribute yourself to someone else), for this is an act of kufr, if you do that, or it is an act of kufr to forsake your real father (and attribute yourself to someone else).` And the Messenger of Allah (ﷺ) said: `Do not praise me as the son of Maryam was praised; rather I am a slave, so say: His slave and His Messenger.` Perhaps Ma`mar said: `As the Christians praised the son of Maryam.”
حَدَّثَنَا عَبْدُ الرَّزَّاقِ، حَدَّثَنَا مَعْمَرٌ، عَنِ الزُّهْرِيِّ، عَنْ عُبَيْدِ اللَّهِ بْنِ عَبْدِ اللَّهِ بْنِ عُتْبَةَ بْنِ مَسْعُودٍ، عَنِ ابْنِ عَبَّاسٍ، عَنْ عُمَرَ، رَضِيَ اللَّهُ عَنْهُ أَنَّهُ قَالَ إِنَّ اللَّهَ عَزَّ وَجَلَّ بَعَثَ مُحَمَّدًا صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ بِالْحَقِّ وَأَنْزَلَ مَعَهُ الْكِتَابَ فَكَانَ مِمَّا أُنْزِلَ عَلَيْهِ آيَةُ الرَّجْمِ فَرَجَمَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَرَجَمْنَا بَعْدَهُ ثُمَّ قَالَ قَدْ كُنَّا نَقْرَأُ وَلَا تَرْغَبُوا عَنْ آبَائِكُمْ فَإِنَّهُ كُفْرٌ بِكُمْ أَوْ إِنَّ كُفْرًا بِكُمْ أَنْ تَرْغَبُوا عَنْ آبَائِكُمْ ثُمَّ إِنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ لَا تُطْرُونِي كَمَا أُطْرِيَ ابْنُ مَرْيَمَ وَإِنَّمَا أَنَا عَبْدٌ فَقُولُوا عَبْدُهُ وَرَسُولُهُ وَرُبَّمَا قَالَ مَعْمَرٌ كَمَا أَطْرَتْ النَّصَارَى ابْنَ مَرْيَمَ‏.‏