[Like the custom of the people of Pharaoh] meaning: like the action of. Al-Hasan said: It contains an implication: they acted like the action of the people of Pharaoh, [and those before them] from among the disbelievers, [so Allah seized them for their sins].
Surah al-Anfal from verse (53) to verse (59).
﴿كدأب آل فِرْعَوْن﴾ يَعْنِي: كَفِعْلِ. قَالَ الْحَسَنُ: فِيهَا إِضْمَارٌ: فَعَلُوا كَفِعْلِ آلِ فِرْعَوْنَ ﴿وَالَّذين من قبلهم﴾ من الْكفَّار ﴿فَأَخذهُم الله بِذُنُوبِهِمْ﴾.
سُورَة الْأَنْفَال من الْآيَة (٥٣) إِلَى الْآيَة (٥٩).