You rip the cork from the bottle, freeing the Imp to squeeze its way out and jump down onto the sand. It looks at you gratefully and opens its mouth to speak, but suddenly tilts its head to one side and leans close to sniff at your legs. “Thought so,” it says - Backstory Codex - Lost Soul (RPA-BC)
You find an Imp trapped inside a magic bottle buried in the sand:
When visiting Falandore, you see his and your husband's ghosts wandering the town:
Upon meeting your adopted daughter Lilara again in the Gurlung Colossus, you can seal her fate: