A LibriVox free audiobook that I liked the description of … and whose reader I enjoy. I’ve just begun and have enjoyed the humor evident in the first chapter.
A djinn, sealed in a jar for three thousand years, has been found by Horace Ventimore, a young and not very flourishing architect. Upon his release the djinn expresses his gratitude by seeking to grant his benefactor’s every wish–generally with results the very opposite to those desired! A few movies and at least one TV series used this work as a model for their characters.
Sounds like I Dream of Jeannie, which I loved watching as a kid.