This text had a number of confusing features; choices we remain worried about are indicated with and we would welcome help from those better versed in Pāḷi.
In this story King Ajātasattu (son of Bimbasara who killed his father, and who visits the Buddha in DN2) sees the ghost of a miser from his rooftop. The miser’s daughter is a Brahmin so her offerings to him have been ineffectual.
“naggo kiso pabbajitosi bhante,
“Naked and emaciated, you seem a renunciate, Bhante,
rattiṁ kuhiṁ gacchasi kissa hetu;
Where are you going in the night, and for what reason?
ācikkha me taṁ api sakkuṇemu,
Explain to me, if we may,
sabbena vittaṁ paṭipādaye tuvan”ti.
we may be able to support you with great wealth.
“bārāṇasī nagaraṁ dūraghuṭṭhaṁ,
tatthāhaṁ gahapati aḍḍhako ahu dīno;
I was a rich and miserable householder in Varanasi, the world-renowned town,
adātā gedhitamano āmisasmiṁ,
ungiving, greedy-minded, and indulgent.
dussīlyena yamavisayamhi patto.
Having attained to the realm of Yama through bad character.
so sūcikāya kilamito tehi,
I am fatigued with hunger.
teneva ñātīsu yāmi āmisakiñcikkhahetu;
I’m unable to go to my relatives for even a little food.
adānasīlā na ca saddahanti,
dānaphalaṁ hoti paramhi loke.
They are ungenerous and do not believe that the fruits of giving are in the world beyond.
dhītā ca mayhaṁ lapate abhikkhaṇaṁ,
and my daughter continuously said to me,
‘dassāmi dānaṁ pitūnaṁ pitāmahānaṁ’;
“I will offer gifts for my fathers and my ancestors
tamupakkhaṭaṁ parivisayanti brāhmaṇā,
[if] the brahmins are served by what is done”.
‘yāmi ahaṁ andhakavindaṁ bhottun’.”ti.
[Thus] I was prevented from eating in Andhakavinda” “
tamavoca rājā “anubhaviyāna tampi,
eyyāsi khippaṃ ahamapi kassaṃ pūjaṃ;
The king said, “Go quickly to receive that and I too will give you an offering.
acikkha me taṁ yadi atthi hetu,
Tell me what is the cause of this?
saddhāyitaṁ hetuvaco suṇomā”ti.
What is the cause? [Let us] hear…”
“tathā”ti vatvā agamāsi tattha,
Having agreed, [the ghost] went to that place.
bhuñjiṁsu bhattaṁ na ca dakkhiṇārahā;
They ate rice that was not worthy of being offered.
paccāgami rājagahaṁ punāparaṁ,
He returned to Rajagaha again.
pāturahosi purato janādhipassa.
He appeared in front of the king.
disvāna petaṁ punadeva āgataṁ,
Seeing the peta coming again,
rājā avoca “ahamapi kiṁ dadāmi;
The king said, “What shall I give?
ācikkha me taṁ yadi atthi hetu,
Tell me if there is a means
yena tuvaṁ cirataraṁ pīṇito siyā”ti.
by which you would be satisfied for a long time.”
“buddhañca saṅghaṁ parivisiyāna rāja,
“Serving the Buddha and the Sangha O King,
annena pānena ca cīvarena;
with food, water, and robes,
taṁ dakkhiṇaṁ ādisa me hitāya,
dedicate this offering for my benefit.
evaṁ ahaṁ cirataraṁ pīṇito siyā”ti.
Then I will be satisfied for a long time.”
tato ca rājā nipatitvā tāvade,
dānaṁ sahatthā atulaṁ daditvā saṅghe;
Because of this the king immediately laid down an incomparable gift, and gave it with his own hand to the Sangha.
ārocesi pakataṁ tathāgatassa,
He explained it to the Tathāgata,
tassa ca petassa dakkhiṇaṁ ādisittha.
and he dedicated the offering to the peta.
so pūjito ativiya sobhamāno,
What was offered was very pleasing to the mind.
pāturahosi purato janādhipassa;
He appeared in front of the King
[and said], “I am a yakkha having acquired magical powers.
na mayhamatthi samā sadisā mānusā.
There is no human equal to me.
passānubhāvaṁ aparimitaṁ mamayidaṁ,
tayānudiṭṭhaṁ atulaṁ datvā saṅghe;
See this immeasurable majesty, which you donated to the sangha and dedicated to me.
santappito satataṁ sadā bahūhi,
yāmi ahaṁ sukhito manussadevā”ti.
I go about happy always greatly satisfied, O king of men.”