Agni said:
1-2. Ishall describe the vows (to be performed) on the eighth lunar day. Lord Krishņa (one of the ten manifestations of lord Vishņu) was born in (the asterism) to rohini on the eighth lunar day in the month of bhadrapada (September-October) at midnight. Hence the eighth lunar day would be victorious. By fasting on that day one would become free from sins committed in seven generations.
3. Fasting on the eighth lunar day in the dark fortnight in (the month of) bhädrapada (September October) marked by (the asterism) rohiņi oneshould worship lord Krishņa, the bestower of enjoyment and emancipation.
4-17. I invoke (the gods) Krishņa and Balabhadra (brother of the former) and Devaki (mother of the former), Vasudeva (father of the former), Yashodā (the cowherdess who brought up Krishna in his childhood) and the cows. I worship them. "Obeisance to you. Obeisance (repeated) to the communion, the master of the communion and the lord of the communion. Obeisance (repeated) to the one who grazes the cows and the one who is born of communion." (Water for) bathingshould be given and the libationshould be made with this (utterance). Obeisance to the sacrifice, the lord of the sacrifice and the master of sacrifices. O Lord! Accept the fragrant flowers dear to you. O Lord! Saluted by the celestials! Be the bestower of all my desires. O Perfumed by the incense! You being incensed accept the incense (offered) by me. O Lord Hari! You make me always profusely perfumed. You accept the great lamp that is lighted and offered by me and be always conferer of the light of the lamp. Make me going upwards. Obeisance (repeated) to the universe, master of the universe and lord of the universe. It has been made known to the one born of the universe etc. and the cowherdsman. Obeisance (repeated) to virtue, master of virtue, lord of virtue and to the one born of virtue etc. O cowherdsman! You lie down. Obeisance (repeated) to one who is everything, to the master of everything, to the lord of everything and to the one born of everything. And to the cowherdsman, the purification. O The one born of the milky ocean! The one born of the eye of (the sage) Atri! O One having the spots resembling the hare! Accept libations of mine in the company of rohiņi (the asterism, referred to as the wife of the moon). The lordshould be established on the altar. Rohiņi together with the moonshould be worshipped. (In the same way) oneshould worship Devaki, Vasudeva, Yashoda, Nandaka (foster father of Krishņa) and Bala (bhadra).showers of milk together with molasses and clarified buttershould be made to fall (on the image) in the midnight. Clothes, gold etc.should be given (to brahmins). The person who practises the vowshould feed the brahmins. One who does the vow of janmāstami (the eighth lunar day, the birth-day of Krishna) would have children and attain the world of Vishņu. One who does it every year seeking progeny does not know any fear. “Give me children. Give me riches, longevity, health, progeny, virtue, desire, fortune, heaven and emancipation.
Summary of chapter 183 of the Agni Purāṇa is as follows:
The Janmāṣṭamī vrata—Kṛṣṇa's birth celebration on Bhādrapada-kṛṣṇa-aṣṭamī when the Rohiṇī nakṣatra falls at midnight—is described in full liturgical detail. The observance dissolves the sins of seven previous births through a single day's upavāsa. The pūjā sequence involves āvāhana of Kṛṣṇa, Balarāma, Devakī, Vasudeva, Yaśodā, and cows; the arghya is offered with the formula "yajñāya yajñeśvarāya"; at midnight the deity is bathed in streams of gudha, ghṛta, and kṣīra with Vedic mantras. The annual observance of Janmāṣṭamī protects the devotee from the punnamā-naraka and grants entry into Goloka.