he asked him therein to send someone who would instruct him in religion and make him acquainted with the laws of islam ; who would build for him a mosque and erect for him a pulpit from which might be carried out the mission of converting his people in all the districts of his kingdom ; and also for advice in the construction of fortifications and defense works .