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:11:97

To Pharaoh and his establishment, but they followed the command of Pharaoh, and the command of Pharaoh was not ˹at all˺ discerning.  

to Pharaoh and his council; but they followed Pharaoh’s command, and Pharaoh’s command was not rightguided, appropriate.
القرآن:١١:٩٧

إِلَىٰ فِرْعَوْنَ وَمَلَئِهِ فَاتَّبَعُوا أَمْرَ فِرْعَوْنَ ۖ وَمَا أَمْرُ فِرْعَوْنَ بِرَشِيدٍ  

{إلى فرعون وَمَلئِهِ فاتبعوا أمر فرعون وما أمرُ فرعون برشيد} سديد.