Srimad Bhagavatam Canto 04, Chapter 13, Text 33

SB 4.13.33

tatha sva-bhagadheyani
grahisyanti divaukasah
yad yajña-purusah saksad
apatyaya harir vrtah
 
Translation by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
When Hari, the supreme enjoyer of all sacrifices, is invited to fulfill your desire for a son, all the demigods will come with Him and take their shares in the sacrifice.
 
Purport by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
Whenever a sacrifice is performed, it is meant for satisfying Lord Visnu, the enjoyer of the fruits of all sacrifices; and when Lord Visnu agrees to come to a sacrificial arena, all the demigods naturally follow their master, and their shares are offered in such sacrifices. The conclusion is that the sacrifices performed are meant for Lord Visnu, not for the demigods.
Srimad Bhagavatam Canto 04, Chapter 13, Text 32
Srimad Bhagavatam Canto 04, Chapter 13, Text 34