Moggallānasutta
Ekaṁ samayaṁ bhagavā rājagahe viharati isigilipasse kāḷasilāyaṁ mahatā bhikkhusaṅghena saddhiṁ pañcamattehi bhikkhusatehi sabbeheva arahantehi. Tesaṁ sudaṁ āyasmā mahāmoggallāno cetasā cittaṁ samannesati vippamuttaṁ nirupadhiṁ. Atha kho āyasmato vaṅgīsassa etadahosi: “ayaṁ kho bhagavā rājagahe viharati isigilipasse kāḷasilāyaṁ mahatā bhikkhusaṅghena saddhiṁ pañcamattehi bhikkhusatehi sabbeheva arahantehi. Tesaṁ sudaṁ āyasmā mahāmoggallāno cetasā cittaṁ samannesati vippamuttaṁ nirupadhiṁ. Yannūnāhaṁ āyasmantaṁ mahāmoggallānaṁ bhagavato sammukhā sāruppāhi gāthāhi abhitthaveyyan”ti.
With Moggallāna
At one time the Buddha was staying on the slopes of Isigili at the Black Rock, together with a large Saṅgha of five hundred mendicants, all of whom were perfected ones. Thereupon, with his mind, Venerable Mahāmoggallāna scrutinized whose mind was liberated and free of attachments. Then Venerable Vaṅgīsa thought, “The Buddha is staying on the slopes of Isigili … with five hundred perfected ones. Mahāmoggallāna is scrutinizing whose mind is liberated and free of attachments. Why don’t I extoll him in the Buddha’s presence with fitting verses?”