“Remain with the Dhamma as an island, the Dhamma as your refuge, without anything else as a refuge.” Samyutta Nikaya 47.13 and also at Digha Nikaya 26.
From DN 16 Maha parinibbana Sutta:
31. And the Blessed One recovered from that illness; and soon after his recovery he came out from his dwelling place and sat down in the shade of the building, on a seat prepared for him. Then the Venerable Ananda approached the Blessed One, respectfully greeted him, and sitting down at one side, he spoke to the Blessed One, saying: "Fortunate it is for me, O Lord, to see the Blessed One at ease again! Fortunate it is for me, O Lord, to see the Blessed One recovered! For truly, Lord, when I saw the Blessed One's sickness it was as though my own body became weak as a creeper, every thing around became dim to me, and my senses failed me. Yet, Lord, I still had some little comfort in the thought that the Blessed One would not come to his final passing away until he had given some last instructions respecting the community of bhikkhus."
32. Thus spoke the Venerable Ananda, but the Blessed One answered him, saying: "What more does the community of bhikkhus expect from me, Ananda? I have set forth the Dhamma without making any distinction of esoteric and exoteric doctrine; there is nothing, Ananda, with regard to the teachings that the Tathagata holds to the last with the closed fist of a teacher who keeps some things back. Whosoever may think that it is he who should lead the community of bhikkhus, or that the community depends upon him, it is such a one that would have to give last instructions respecting them. But, Ananda, the Tathagata has no such idea as that it is he who should lead the community of bhikkhus, or that the community depends upon him. So what instructions should he have to give respecting the community of bhikkhus?
"Now I am frail, Ananda, old, aged, far gone in years. This is my eightieth year, and my life is spent. Even as an old cart, Ananda, is held together with much difficulty, so the body of the Tathagata is kept going only with supports. It is, Ananda, only when the Tathagata, disregarding external objects, with the cessation of certain feelings, attains to and abides in the signless concentration of mind,  that his body is more comfortable.
33. "Therefore, Ananda, be islands unto yourselves, refuges unto yourselves, seeking no external refuge; with the Dhamma as your island, the Dhamma as your refuge, seeking no other refuge.
(i.e., No successor leader, no popes, let the Dhamma be your teacher.)
Last edited by DNS
on Sun Oct 11, 2020 12:21 am, edited 1 time in total.
Reason: added para. 31 from DN 16