With extreme cleverness and a fair amount of luck, the poor street poet, Hajj, rises from the streets of Baghdad to being crowned as Emir by the Wazir of Baghdad. Meanwhile, the Wazir is desperately trying to find a wealthy foreign princess for the Caliph to marry. This plan hits a snag when the Caliph falls in love with Hajj's beautiful daughter, Marsinah, without the knowledge of Hajj. Thus, Hajj is helping the Wazir but risking losing his son-in-law. After a series of adventures, the Caliph and Marsinah are able to continue their love affair while Hajj is rewarded by gaining the affections of the Wazir's sexy widow, Lalume.