The Book of the Sunnah
كتاب المقدمة
(5) Chapter: He who narrated (a Hadith) from the Messenger of Allah (saws) when he considers it to be false
(5) باب مَنْ حَدَّثَ عَنْ رَسُولِ اللَّهِ ـ صلى الله عليه وسلم ـ حَدِيثًا وَهُوَ يُرَى أَنَّهُ كَذِبٌ
Sunan Ibn Majah 41 
It was narrated that Mughirah bin Shu'bah said:
The Messenger of Allah (ﷺ) said: '"Whoever narrates a Hadith from me thinking it to be false, then he is one of the two liars."
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا وَكِيعٌ، عَنْ سُفْيَانَ، عَنْ حَبِيبِ بْنِ أَبِي ثَابِتٍ، عَنْ مَيْمُونِ بْنِ أَبِي شَبِيبٍ، عَنِ الْمُغِيرَةِ بْنِ شُعْبَةَ، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ ‏ "‏ مَنْ حَدَّثَ عَنِّي بِحَدِيثٍ وَهُوَ يَرَى أَنَّهُ كَذِبٌ فَهُوَ أَحَدُ الْكَاذِبَيْنِ ‏"‏ ‏.‏
Grade :  Sahih (Darussalam)
Reference : Sunan Ibn Majah 41
In-book reference : Introduction, Hadith 41
English translation : Vol. 1, Book 1, Hadith 41