The townspeople, who experienced brutally crushed him and his companions and expelled them from their homeland, stood ahead of the Prophet with curiosity and dread, not understanding how to proceed. There are some similarities that Islam share with regards to core beliefs with other Abrahamic faiths like Judaism and Christianity, https://islamarticle.com/blogs/why-prayer-times-differ/