Probably some apostolic teaching, even a letterÉ
1Cor 5:9-10 (NIV) I have written you in my letter not to associate with sexually immoral people-- 10 not at all meaning the people of this world who are immoral, or the greedy and swindlers, or idolaters. In that case you would have to leave this world.