The Messenger of Allah ﷺ said: "Soon there will come a time that a man will be reclining on his pillow, and when one of my Ahadith is narrated he will say: 'The Book of Allah is (sufficient) between us and you. Whatever it states is permissible, we will take as permissible, and whatever it states is forbidden, we will take as forbidden.' Verily, whatever the Messenger of Allah ﷺ has forbidden is like that which Allah has forbidden." (Using translation from Ibn Mājah 12)
سَمِعْتُ الْمِقْدَامَ بْنَ مَعْدِي كَرِبَ يَقُولُ حَرَّمَ رَسُولُ اللهِ ﷺ يَوْمَ خَيْبَرَ أَشْيَاءَ ثُمَّ قَالَ يُوشِكُ أَحَدُكُمْ أَنْ يُكَذِّبَنِي وَهُوَ مُتَّكِئٌ عَلَى أَرِيكَتِهِ يُحَدَّثُ بِحَدِيثِي فَيَقُولُ بَيْنَنَا وَبَيْنَكُمْ كِتَابُ اللهِ فَمَا وَجَدْنَا فِيهِ مِنْ حَلَالٍ اسْتَحْلَلْنَاهُ وَمَا وَجَدْنَا فِيهِ مِنْ حَرَامٍ حَرَّمْنَاهُ أَلَا وَإِنَّ مَا حَرَّمَ رَسُولُ اللهِ ﷺ مِثْلُ مَا حَرَّمَ اللهُ