Qasr al-Harrana is one of the best known of the desert castles located in eastern Jordan. It was probably built in VII° century by the caliph Walid I of the Umayyad dinasty.
Debate is still going on as the original function of this building. The most widely accepted opinion among scholars is that it was a khan or inn. If this were true this would be the earliest known khan of the Islamic period.