Tafsir of 17:77 Ma'arif al-Qur'an
سُنَّةَ مَن قَدْ أَرْسَلْنَا قَبْلَكَ مِن رُّسُلِنَا ۖ وَلَا تَجِدُ لِسُنَّتِنَا تَحْوِيلًا ﴿٧٧﴾
The last verse (77): سُنَّةَ مَن قَدْ أَرْسَلْنَا (Such has been Our way with the messengers We sent ...) tells us that, according to the customary way and law of Allah Ta` ala, when a people expel their prophet from his home-land, or compel him to leave by scaring and harassing, then, those people too are not left to continue living there. They are visited by the punishment of Allah Ta’ ala.
Source: Ma'arif al-Qur'an — Mufti Muhammad Shafi. Licence: Maktaba-e-Darul-Uloom; confirm