In chapter 19-20 of Kumara Khanda in Rudra Samhita of Shiva Purana, the episode of wedding of Sri Ganesh is described.
Once the loving parents Parvati and Shiva called their sons Sri Ganesh and Kartikeya and spoke as follows: - “O sons, both of you are good sons and equal in our eyes. The auspicious marriage will be celebrated of that boy who comes here first after going round the entire earth.”
On hearing their words, the powerful Kumara started immediately from the fixed point to go round the earth. Ganesh of excellent intellect stood there itself after pondering in his mind frequently with his keen intellect. “What shall be done? Where am I to go? I cannot cross the earth. He performed the ceremonial ablution and returned, home. He then spoke to his father and mother: -
“For your worship two seats have I placed here. Please be seated, dear parents. Let my desire be fulfilled.”
On hearing his words, Parvati and Shiva sat on the seats for receiving worship. They were worshipped by Ganesh and circumambulation was done by him seven times and bowed too seven times. Joining his palms in reverence and eulogising his parents agitated by love and affection, many times, Ganesh the ocean of intelligence, said: --
“O mother, O father, you please listen to my weighty words. My auspicious marriage shall be celebrated quickly.”
On hearing the words of the noble-minded Ganesh, Shiva and Parvati said: --
“You should do circumambulation the earth with all its forests. Kumara has already gone. You too start and return first.”
On hearing the words of his parents, Ganesh said: --
“O mother, O father, you two are intelligent and embodied virtue. Hence O excellent ones, you may be pleased to hear my virtuous words. The circumambulation of earth has been done by me frequently, for seven times. Why then, my parents should say thus?”
The parents said: --
“O son, when was the circumambulation of great earth was done by you, the earth consisting of seven continents extending to the oceans and consisting of vast jungles?
Ganesh said: --
“By worshipping you, Parvati, and Shiva, I have intelligently done circumambulation of the earth extending to the oceans. Is it not the verdict of the Vedas or the Shastras or any other sacred code? Is it true or otherwise? - “He who worships his parents and circumambulates them, will certainly derive the fruit and merit of circumambulating the earth. He who leaves his parents at home and goes on a pilgrimage incurs the sin of their murder. The holy centre of a son consists of the lotus-like feet of his parents. The other holy centres can be reached only after going a long distance. This holy centre is near at hand, easily accessible and a means of virtue. For a son and wife, the auspicious holy centre is in the house itself.”
These things are mentioned frequently in the Shastras and the Vedas. There is no doubt about it. Let my auspicious marriage be celebrated and that too very quickly. Otherwise let the Vedas and Shastras be declared false. Saying thus, Ganesh of excellent intellect, of great wisdom and foremost among intelligent persons assumed silence.
On hearing his words, Parvati and Shiva, the rulers of the universe, were very much surprised. Then, Shiva and Parvati praised their son who was clever and intelligent and spoke to him who had spoken the truth. Shiva and Parvati said: --
“O son, you are a supreme soul, and your thoughts are pure. What you have said is true and not otherwise. When misfortune comes, if a person is keenly intelligent, his misfortunes perish even as darkness perishes when the sun rises. He who has intelligence possesses strength as well. How can he who is devoid of intellect have strength? The proud lion was drowned in a well with a trick by a little hare. Whatever has been mentioned in the Vedas, Shastras and Puraṇas for a boy, all that has been performed by you, namely, the observance of virtue. What has been executed by you shall be done by anyone. We have honoured it. It will not be altered now.”
The celebration of Ganesh’s marriage:
In the meantime, Prajapati Vishvarupa became delighted and happy on knowing their intention. Prajapati Vishvarupa had two daughters of divine features. They were famous as Siddhi (Spiritual Power) and Buddhi (Intellect). (Another mainstream pattern associates him with the concepts of Buddhi, Siddhi, and Riddhi i.e., prosperity) They were exquisite in every part of their body. The lord Shiva and Parvati jubilantly celebrated the marriage of Ganesh with them.
Vishwakarma made all arrangements for the marriage. The sages and the gods were full of great joy. After some time, the noble Ganesh begot two sons, one each of his wives. They were endowed with divine features. The son Kṣema (Prosperity) was born to Siddhi. The highly brilliant son Labha (Profit) was born to Buddhi. (In Northern Indian variants of this story the sons are often said to be Shubh i.e., auspiciousness and Labha). They bestow happiness on everyone.
Narada said to Kartikeya: -
“While Ganesh was enjoying the inconceivable happiness, the second son returned after circumambulating the earth. After driving you out under the pretext of circumambulating the earth, they have celebrated the excellent and auspicious marriage of Ganesh. By this marriage that was celebrated, Ganesh has obtained two wives joyously. He has begot of his two wives of auspicious body
two sons, Kṣema of Siddhi and Labha of Buddhi.
The entire earth consisting of oceans and jungles has been traversed by you due to their deceptive behest. O dear, consider. If parents begin to deceive or particularly if our masters begin to deceive, won’t others also begin to deceive. Your parents have not done well. Just ponder over it. I don’t think their action has been good. This policy has been mentioned in the Vedas, Smṛtis and sacred texts. It has been intimated to you now. Do as you wish.”
After bowing to his father, the infuriated Skanda (Kartikeya0 went to the Krauncha Mountain though forbidden by his parents. “Even when forbidden by us why do you go?” Although he was prevented by saying this, he went away saying “No”. “O parents, I shall not stay here even a moment when deception has been practised on me eschewing affection towards me.” He went away saying so. Even today he is staying there removing the sin of all by his very vision.
Ever since that day, the son of Shiva, Kartikeya remains a bachelor. His name bestows auspiciousness in the world. It is famous in the three worlds. It dispels all sins, is meritorious and confers the sanctity of celibacy. In the month of Kartika, the gods, the holy sages and great ascetics go there to see Kumara. He who has the vision of the lord in the Kartika Nakṣatra in the month of Kartika is divested of all sins. He derives all desired fruits.
Parvati became grief-stricken by separation from Skanda. She piteously told her lord. “O lord, let us go there.” Shiva went to that mountain partially for her happiness. He assumed the pleasing form of Jyotirlinga named Mallikarjuna. On coming to know that Shiva had come there with Parvati, Kumara became unattached and was eager to go elsewhere. On being requested by the gods and sages he stayed in a place three Yojanas away.
On the full and new moon days, Parvati and Shiva are excited by love towards their son and they go there to see him. On new moon days, Shiva himself goes there. On full moon days, Parvati goes there certainly.
He who worships his parents and circumambulates them, will certainly derive the fruit and merit of circumambulating the earth. He who leaves his parents at home and goes on a pilgrimage incurs the sin of their murder. The holy centre of a son consists of the lotus-like feet of his parents. The other holy centres can be reached only after going a long distance. This holy centre is near at hand, easily accessible and a means of virtue. For a son and wife, the auspicious holy centre is in the house itself.