The Prophet ﷺ said, "Whoever narrates a hadith from me believing it to be false is himself one of the liars."
حدثنا محمد بن جعفر وبهز قالا حدثنا شعبة عن حبيب بن أبي ثابت قال ابن جعفر قال سمعت ميمون بن أبي شبيب يحدث
عن النبي ﷺ أنه قال من روى عني حديثا وهو يرى أنه كذب فهو أحد الكذابين
Its isnad is sahih. Maymun bin Abu Shabib is trusted, and the four (Sunan compilers) narrated from him, as did Bukhari and Muslim outside the Sahihayn.The hadith was narrated with this wording by Muslim, 1/9, in the introduction, Nasai, 2/422, no. 1020, Tirmidhi, 5/36, no. 2642, Ibn Majah, 1/15, no. 41, and Tabarani in Al-Kabir, 7/180, no. 6757.