Corrected entry: The movie's plot of a magic wishing stone seems to have been inspired by Gary K. Wolf's book Who Censored Roger Rabbit where a lantern granted wishes. Both though did/appear to be a great cost/reversal of fortune.
Rob245
6th Dec 2020
Correction: Considering the story of Aladdin involves a magical object leading to wishes being granted, connecting it to a specific book is a stretch. It's been a storytelling device for hundreds of years, if not longer.