Genies

Genies are spirit beings that live inside bottles or any such small contained space they use for a residence. They have magical powers that can grant wishes to whoever commands them, usually with some stipulations.

In Smurfs Media
The Smurfs first encountered a genie called Genie Meanie when Brainy and Clumsy were escaping from Azrael. This genie proved to be very mischievous and loved to play pranks on all the Smurfs. However, by using the magic words "pumpernickle pickle", a person could have up to three wishes granted by Genie Meanie, though they must be wished before sundown when he goes back into the bottle for another 100 years. Two such persons had used the magic words to control Genie Meanie -- Gargamel and Papa Smurf, the last of whom wished for the genie to stay in his bottle until he stopped being mean.

Another genie is introduced from a gourd in Farmer Smurf's fields who says he goes by the name of Gourdy. He first appears in and episode of Season 6 called "Farmer's Genie", thanking "Mastuh Farmuh" with the promise to grant him anything he desires. However, he makes things worse more times than better with every wish he grants, but he returns in several episodes throughout the season.

In episode 19 of Season 9 called, "The Clumsy Genie", the Smurfs are transported to the Middle East where Clumsy accidentally frees a genie known as Tebuli and, consequently, takes his place in the magic lamp. In this episode, Tebuli's good friend, Ernie is seen in several scenes, but given no lines.

Empath: The Luckiest Smurf stories
A female genie named Ghinella appears in the EMPATH: The Luckiest Smurf story series as Smurfette's personal genie who grants whatever her mistress desires, though the wishes that she grants usually come with unexpected side effects.