Jāṇussoṇisutta
Atha kho jāṇussoṇi brāhmaṇo yena bhagavā tenupasaṅkami; upasaṅkamitvā bhagavatā saddhiṁ …pe… ekamantaṁ nisinno kho jāṇussoṇi brāhmaṇo bhagavantaṁ etadavoca: “yassassu, bho gotama, yañño vā saddhaṁ vā thālipāko vā deyyadhammaṁ vā, tevijjesu brāhmaṇesu dānaṁ dadeyyā”ti. “Yathā kathaṁ pana, brāhmaṇa, brāhmaṇā tevijjaṁ paññapentī”ti? “Idha kho, bho gotama, brāhmaṇo ubhato sujāto hoti mātito ca pitito ca saṁsuddhagahaṇiko yāva sattamā pitāmahayugā akkhitto anupakkuṭṭho jātivādena, ajjhāyako mantadharo, tiṇṇaṁ vedānaṁ pāragū sanighaṇḍukeṭubhānaṁ sākkharappabhedānaṁ itihāsapañcamānaṁ, padako, veyyākaraṇo, lokāyatamahāpurisalakkhaṇesu anavayoti. Evaṁ kho, bho gotama, brāhmaṇā tevijjaṁ paññapentī”ti.
With Jānussoṇi
Then the brahmin Jānussoṇi went up to the Buddha, and exchanged greetings with him. Seated to one side he said to the Buddha: “Worthy Gotama, whoever has a sacrifice, an offering of food for ancestors, a dish of milk-rice prepared for an auspicious ceremony, or a gift to give, should give it to the brahmins who have mastered the three Vedic knowledges.” “But brahmin, how do the brahmins describe a brahmin who is proficient in the three Vedic knowledges?” “Worthy Gotama, it’s when a brahmin is well born on both his mother’s and father’s side, stemming from a clean vessel, with irrefutable and impeccable genealogy back to the seventh paternal generation. He recites and remembers the hymns, and has mastered the three Vedas, together with their vocabularies and ritual performance, their phonology and word classification, and the testaments as fifth. He knows them word-by-word, and their grammar. He is well versed in cosmology and the marks of a great man. That’s how the brahmins describe a brahmin who is proficient in the three Vedic knowledges.”