Agni said:
1-5. Ishall describe now the vows (to be performed) on the fourth lunar day which would yield enjoyment and emancipation. On the fourth lunar day in the bright (fortnight) in (the month of) mägha (February-March), oneshould fast and worship Ganapati (the lord of attendants). One who gives sesamum rice on the fifth lunar day for a year will be happy without obstacles. Gam oblations is the chief mystic syllable. (The syllables) commencing with gāṁ are the heart etc. (of the mystic syllable). Having invoked (god) (saying), “come (obeisance) to ulka (the fiery)". The permission (for the deity) to go (would be by saying) “Go away (obeisance) to ulka (the fiery)”. Oneshould worship commencing with 'ga' and 'gam' and ending with ulka by (offering) modaka (sweet ball) etc. (The sacred syllable would be)—"Oṁ we know the great fiery (god), we meditate or the (god) with the curved trunk, let that god having the tusk impel us". One who performs the vow on the fourth lunar day in the month of bhädrapada (September-October) would reach (lord) Siva. One would get (alldesired things) by worshipping the lord of attendants on the fourth lunar day on Tuesday. It is known to be avighnā chaturthi (the fourth lunar day without any obstacle) on the night of the fourth lunar day in the month of) phâlguna (March-April). One who worships (the lord of) attendants on the fourth lunar day in (the month of) chaitra (April-May) with damana would be happy.
Summary of chapter 179 of the Agni Purāṇa is as follows:
Gaṇeśa vratas observed on the fourth tithi are described. The Māgha-śukla-caturthī vrata requires upavāsa and Gaṇeśa-pūjā with the mūla-mantra "Gaṃ svāhā," the āvāhana "āgaccha ulkāya," and the visarjana "gaccha ulkāya." The Gāṇapatya gāyatrī-mantra—"Oṃ mahūlkāya vidmahe vakratuṇḍāya dhīmahi tanno dantī pracodayāt"—is given as the japa-text. The Bhādrapada-caturthī leads to Śiva-loka, Maṅgala-caturthī grants the fulfilment of all desires, Phālguṇa-caturthī is the Avighna-caturthī removing all obstacles, and Caitra-caturthī employs damana-flowers specific to the season.