Scripture

1 Corinthians 5:6-7

Cited in the Confessions
Westminster Confession of Faith
Chapter 25 · Article 4 — …nd particular churches, which are members thereof, are more or less pure, according as the doctrine of the gospel is taught and embraced, ordinances administered, and public worship performed more or less purely in them.
Chapter 29 · Article 8 — or be admitted thereunto.