Abu Darda on Friends: A good friend is better than loneliness

Ibn Hibban reported: Abu Darda, may Allah be pleased with him, said, “A righteous companion is better than loneliness, and loneliness is better than an evil companion. A good writer is better than one silent, and one silent is better than an evil writer.”

Source: Rawḍat al-‘Uqalā 56

عن ابن حبان قَالَ أَبُو الدَّرْدَاءِ رضي الله عنه الصَّاحِبُ الصَّالِحُ خَيْرٌ مِنَ الْوَحْدَةِ وَالْوَحْدَةُ خَيْرٌ مِنَ الصَّاحِبِ السُّوءِ وَمُمْلِي الْخَيْرِ خَيْرٌ مِنَ السَّاكِتِ وَالسَّاكِتُ خَيْرٌ مِنْ مُمْلِي الشَّرِّ

56 روضة العقلاء لابن حبان الصاحب الصالح خير من الوحدة