He who narrated (a Hadith) from the Messenger of Allah (saws) when he considers it to be false Sunan Ibn Majah 40

Arabic hadith text
حَدَّثَنَا عُثْمَانُ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا مُحَمَّدُ بْنُ فُضَيْلٍ، عَنِ الأَعْمَشِ، عَنِ الْحَكَمِ، عَنْ عَبْدِ الرَّحْمَنِ بْنِ أَبِي لَيْلَى، عَنْ عَلِيٍّ، عَنِ النَّبِيِّ ـ صلى الله عليه وسلم ـ قَالَ ‏"‏ مَنْ رَوَى عَنِّي حَدِيثًا وَهُوَ يَرَى أَنَّهُ كَذِبٌ فَهُوَ أَحَدُ الْكَاذِبَيْنِ ‏"‏ ‏.‏ حَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ اللَّهِ، أَنْبَأَنَا الْحَسَنُ بْنُ مُوسَى الأَشْيَبُ، عَنْ شُعْبَةَ، مِثْلَ حَدِيثِ سَمُرَةَ بْنِ جُنْدُبٍ
Translation
It was narrated from `Ali that

The Prophet (ﷺ) said: "Whoever narrates a Hadith from me thinking it to be false, then he is one of the two liars."Another chain similar to the narration of Samurah bin Jundub.