When he came to Succoth (Sahur), he built a house for himself and shades for his beasts. Then he passed by Jerusalem, the village of Shechem, and camped before the village.
He bought a farm from Shcehm Ibn Hamor with one hundred goats and built an altar, which he called Ayl, as Allah commanded him.
He built the altar where Jerusalem stands today and later Solomon son of David (pbuh) rebuilt it. It is in the place of the stone which he had earlier anointed with oil as was mentioned before.