The townspeople, who had brutally crushed him and his companions and expelled them from their homeland, stood ahead of the Prophet with curiosity and dread, not figuring out what to do. Islam teaches that Allah has sent messengers (prophets) to every nation during background to guide humanity to the truth.13 https://islamarticle.com/blogs/dua-for-pain/