Kathasaritsagara 12.69.18
Pushkaráksha, for his part, having obtained the kingdom, kept worshipping Siva every day, and one day at the end of his worship, he asked him to bestow on him a wife. Then he heard a voice come from heaven, saying, "My son, thou shalt obtain all thy desire." Then he remained in a happy state, as he had now a good hope of success. And it happened that one day he went to a wood inhabited by wild beasts, to amuse himself with hunting. There he saw a camel about to eat two snakes entwined together, and in his grief he killed the camel. The camel immediately became a Vidyádhara, abandoning its camel body, and being pleased said to Pushkaráksha "You have done me a benefit. So hear what I have to tell you."