The place where she stopped belonged to two orphans called Thailand Sahl. It was here that the Prophet (saas) built his Masjid and his homeThe Messenger of Allah (saas) soon became the leader of Al Madinah. https://rattilonline.com/the-seerah-of-prophet-mohamed/