When they were contending among themselves of their affair then they said , ' Build over them a building ; their Lord knows of them very well . ' Said those who prevailed over their affair , ' We will raise over them a place of worship . '