Āḷavakasutta
Evaṁ me sutaṁ— ekaṁ samayaṁ bhagavā āḷaviyaṁ viharati āḷavakassa yakkhassa bhavane. Atha kho āḷavako yakkho yena bhagavā tenupasaṅkami; upasaṅkamitvā bhagavantaṁ etadavoca: “nikkhama, samaṇā”ti. “Sādhāvuso”ti bhagavā nikkhami. “Pavisa, samaṇā”ti. “Sādhāvuso”ti bhagavā pāvisi. Dutiyampi kho āḷavako yakkho bhagavantaṁ etadavoca: “nikkhama, samaṇā”ti. “Sādhāvuso”ti bhagavā nikkhami. “Pavisa, samaṇā”ti. “Sādhāvuso”ti bhagavā pāvisi. Tatiyampi kho āḷavako yakkho bhagavantaṁ etadavoca: “nikkhama, samaṇā”ti. “Sādhāvuso”ti bhagavā nikkhami. “Pavisa, samaṇā”ti. “Sādhāvuso”ti bhagavā pāvisi. Catutthampi kho āḷavako yakkho bhagavantaṁ etadavoca: “nikkhama, samaṇā”ti. “Na khvāhaṁ taṁ, āvuso, nikkhamissāmi. Yaṁ te karaṇīyaṁ taṁ karohī”ti. “Pañhaṁ taṁ, samaṇa, pucchissāmi. Sace me na byākarissasi, cittaṁ vā te khipissāmi, hadayaṁ vā te phālessāmi, pādesu vā gahetvā pāragaṅgāya khipissāmī”ti. “Na khvāhaṁ taṁ, āvuso, passāmi sadevake loke samārake sabrahmake sassamaṇabrāhmaṇiyā pajāya sadevamanussāya, yo me cittaṁ vā khipeyya hadayaṁ vā phāleyya, pādesu vā gahetvā pāragaṅgāya khipeyya. Api ca tvaṁ, āvuso, puccha yadā kaṅkhasī”ti (…).
With Āḷavaka
So I have heard. At one time the Buddha was staying near Āḷavī in the haunt of the native spirit Āḷavaka. Then the native spirit Āḷavaka went up to the Buddha, and said to him: “Get out, ascetic!” Saying, “All right, respectable sir,” the Buddha went out. “Get in, ascetic!” Saying, “All right, respectable sir,” the Buddha went in. And for a second time the native spirit Āḷavaka said to the Buddha, “Get out, ascetic!” Saying, “All right, respectable sir,” the Buddha went out. “Get in, ascetic!” Saying, “All right, respectable sir,” the Buddha went in. And for a third time the native spirit Āḷavaka said to the Buddha, “Get out, ascetic!” Saying, “All right, respectable sir,” the Buddha went out. “Get in, ascetic!” Saying, “All right, respectable sir,” the Buddha went in. And for a fourth time the native spirit Āḷavaka said to the Buddha, “Get out, ascetic!” “No, respectable sir, I won’t get out. Do what you must.” “I will ask you a question, ascetic. If you don’t answer me, I’ll drive you insane, or explode your heart, or grab you by the feet and throw you to the far shore of the Ganges!” “I don’t see anyone in this world with its gods, Māras, and divinities, this population with its ascetics and brahmins, its gods and humans who could do that to me. But anyway, ask what you wish.”