The Old Testament and Muslim hadith agree in substance, though not in every detail, about what happened to Hagar and Ishmael after they left home.