VaggaNiyāmokkantikathā

Abhidhammapiṭaka · Kathāvatthu · Vol. 37 · Section 979

[979] "The Bodhisatta entered the fixed course (okkantaniyāma) and lived the holy life in the dispensation (pāvacana) of the Blessed One Kassapa, and yet was not a disciple (sāvaka) of the Blessed One Kassapa?" "Yes." "The Venerable Ānanda entered the fixed course and lived the holy life in the dispensation of the Blessed One, and yet was not a disciple of the Blessed One?" "It should not be said thus." …

English translation from the Pali (Siam Raṭṭha edition) — under review, not for citation.

This passage also appears in 1 other place