Ali Baba and the Forty Thieves

Like Aladdin, this story is often included in The 1001 Nights.