Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad-zuhd:2271ʿAbdullāh from my father > al-Walīd > al-Awzāʿī > Bilāl b. Saʿd

[Machine] I heard Bilal ibn Saad say, "Do not be a friend of Allah publicly while being an enemy to Him in secret."  

الزهد لأحمد:٢٢٧١حَدَّثَنَا عَبْدُ اللَّهِ حَدَّثَنَا أَبِي حَدَّثَنَا الْوَلِيدُ قَالَ سَمِعْتُ الْأَوْزَاعِيَّ يَقُولُ

سَمِعْتُ بِلَالَ بْنَ سَعْدٍ يَقُولُ «لَا تَكُنْ وَلِيَ اللَّهِ فِي الْعَلَانِيَةِ وَعَدُوَّهُ فِي السِّرِّ»