The Brass Bottle (1923)
The Brass Bottle is a 1923 silent fantasy film comedy produced and directed by Maurice Tourneur and distributed by First National Pictures. This story by novelist F. Anstey was produced as a Broadway play in 1910. A 1914 silent followed. Both silent versions are lost. A colorful 1964 sound version appeared starring Tony Randall
More at Wikipedia.