Sunan Ibn Majah, Book 1, Hadith 39 (In-Book) ⓘ
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." (Either the one who invents a lie or the one who repeats it; both are liars).
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا عَلِيُّ بْنُ هَاشِمٍ، عَنِ ابْنِ أَبِي لَيْلَى، عَنِ الْحَكَمِ، عَنْ عَبْدِ الرَّحْمَنِ بْنِ أَبِي لَيْلَى، عَنْ عَلِيٍّ، عَنِ النَّبِيِّ ـ صلى الله عليه وسلم ـ قَالَ " مَنْ حَدَّثَ عَنِّي حَدِيثًا وَهُوَ يُرَى أَنَّهُ كَذِبٌ فَهُوَ أَحَدُ الْكَاذِبَيْنِ " .
also referenced under: Hadith 38 (Reference) & Volume 1, Book 1, Hadith 38 (DarusSalam)