Devi Bhagavata Purana 4.22.9–11
ऊर्णायां चैव भार्यायामासन्धर्मविचक्षणाः । ब्रह्माणं जहसुर्वीक्ष्य सुतां यभितुमुद्यतम् ॥ ९ ॥ शशाप तांस्तदा ब्रह्मा दैत्ययोनिं विशन्त्वधः । कालनेमिसुता जातास्ते षड्गर्भा विशाम्पते ॥ १० ॥ अवतारे परे ते तु हिरण्यकशिपोः सुताः । जातास्ते ज्ञानसंयुक्ताः पूर्वशापभयान्नृप ॥ ११ ॥
ūrṇāyāṃ caiva bhāryāyāmāsandharmavicakṣaṇāḥ | brahmāṇaṃ jahasurvīkṣya sutāṃ yabhitumudyatam || 9 || śaśāpa tāṃstadā brahmā daityayoniṃ viśantvadhaḥ | kālanemisutā jātāste ṣaḍgarbhā viśāmpate || 10 || avatāre pare te tu hiraṇyakaśipoḥ sutāḥ | jātāste jñānasaṃyuktāḥ pūrvaśāpabhayānnṛpa || 11 ||
Once, on an occasion, the Prajāpati Brahmā, on seeing his daughter, became passionate, and was ready to hold sexual intercourse with her. At this, those six sons laughed at him. Brahmā cursed them saying You all go quickly and take your birth in the wombs of the asuras. Therefore those six sons became the sons of Kālanemi in their first birth. At their second birth, they became the sons of Hiraṇyakaśipu. This second time they had the fear of curse in their minds and therefore were born endowed with knowledge.