Many cameleers returned home after their work contracts ended but others stayed , married European and indigenous women and established communities and mosques in outback towns , raising their children in the Islamic faith .