The Prophet ﷺ said, "Whoever narrates a hadith from me while believing it to be false is himself one of the liars."
حدثنا أبو بكر بن أبي شيبة حدثنا وكيع ح و حدثنا محمد بن بشار قال حدثنا محمد بن جعفر قالا حدثنا شعبة عن الحكم عن عبد الرحمن بن أبي ليلى
عن النبي ﷺ قال من حدث عني حديثا وهو يرى أنه كذب فهو أحد الكاذبين
Narrated by Muslim in the introduction to his Sahih, in the chapter on the obligation of transmitting only from trustworthy narrators, and so on, from Ibn Abu Shayba, through this route.