TABARANI 6491:
from Yaʿqūb b. ʿAbdullāh b. Sulaymān b. Ukaymah al-Laythī from his father from his grandfather —
[Machine] We came to the Messenger of Allah ﷺ and said to him, "O Messenger of Allah, we hear from you the hadith, but we cannot convey it as we heard it from you due to forgetfulness. So he ﷺ said, 'If you do not make the prohibited things lawful and do not make the lawful things prohibited, and you understand the meaning, then there is no harm.'"
الطبراني ٦٤٩١:
عن يعقوب بن عبد الله بن سليمان بن اكيمه الليتهي عن أبيه عن جده —
أَتَيْنَا رَسُولَ اللهِ ﷺ فَقُلْنَا لَهُ بِآبَائِنَا أَنْتَ وَأُمَّهَاتِنَا يَا رَسُولَ اللهِ إِنَّا نَسْمَعُ مِنْكَ الْحَدِيثَ فَلَا نَقْدِرُ أَنْ نُؤَدِّيَهُ كَمَا سَمِعْنَاهُ؟ فَقَالَ «إِذَا لَمْ تُحِلُّوا حَرَامًا وَلَمْ تُحَرِّمُوا حَلَالًا وَأَصَبْتُمُ الْمَعْنَى فَلَا بَأْسَ»
hadithunlocked.com