The townspeople, who had brutally beaten him and his companions and expelled them from their homeland, stood ahead of the Prophet with curiosity and anxiety, not being aware of what to do. There are several similarities that Islam share regarding Main beliefs with other Abrahamic faiths like Judaism and Christianity, https://islamarticle.com/blogs/importance-of-praying-on-time/