The young man changes himself to look like Mansur, and thus inveigles himself into the bed of Mansur’s wife, but is put off by her, from a Tuti-nama (Tales of a Parrot): Seventeenth Night
Khalis repays the prince for his kindness by changing into a snake and sucking the poison from the king’s daughter, from a Tuti-nama (Tales of a Parrot): Eighteenth Night