Hadithcore
Mishkat al-Masabih, 232, 233

Ibn ‘Abbas reported God’s messenger as saying, “Be on your guard about tradition from me, except what you know; for he who lies about me deliberately will certainly come to his abode in hell.” Tirmidhi transmitted it, and Ibn Majah transmitted it from Ibn Mas'ud and Jabir, but did not mention, “ Be on your guard about tradition from me, except what you know.”

وَعَنِ ابْنِ عَبَّاسٍ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «اتَّقُوا الْحَدِيثَ عَنِّي إِلَّا مَا عَلِمْتُمْ فَمَنْ كَذَبَ عَلَيَّ مُتَعَمِّدًا فَلْيَتَبَوَّأْ مَقْعَدَهُ مِنَ النَّارِ» . رَوَاهُ التِّرْمِذِيّ وَرَوَاهُ ابْنُ مَاجَهْ عَنِ ابْنِ مَسْعُودٍ وَجَابِرٍ وَلَمْ يَذْكُرِ: «اتَّقُوا الْحَدِيثَ عَنِّي إِلَّا مَا علمْتُم»

References1 variant
In-Book Reference
Book 2, Hadith 30