According to the story in Quran, the religious book of the Muslims, Prophet Ibrahim was tested by God.
According to the story, about 4,000 years ago, the valley of Mecca was an uninhabited place. After years of worship, Ibrahim and Hajra, his wife, were blessed with a son, whom they names Ishamel.