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:15:78

And the companions of the thicket were ˹also˺ wrongdoers.  

And certainly (in has been softened, in other words ˹understand it as being˺ innahu) the dwellers in the wood, a huddle of trees near Midian — these were the people of ˹the prophet˺ Shu‘ayb — were evildoers, for denying Shu‘ayb.
القرآن:١٥:٧٨

وَإِنْ كَانَ أَصْحَابُ الْأَيْكَةِ لَظَالِمِينَ  

{وإن} مخففة أي إنه {كان أصحاب الأيكة} هي غيضة شجر بقرب مدين وهم قوم شعيب {لظالمين} بتكذيبهم شعيبا.