Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:37:36

And were saying, "Are we to leave our gods for a mad poet?"  

and would say, ‘Are we to abandon our gods for a mad poet?’, that is, for the sake of what Muhammad (s) says? (as regards the hamzas ˹in a-innā, ‘are we’˺, the same applies as mentioned above).
القرآن:٣٧:٣٦

وَيَقُولُونَ أَئِنَّا لَتَارِكُو آلِهَتِنَا لِشَاعِرٍ مَجْنُونٍ  

{ويقولون أئنا} في همزتيه ما تقدم {لتاركوا آلهتنا لشاعر مجنون} أي لأجل محمد.