Al-Adab Al-Mufrad #891
Consequences
The Arabic includes the chain of narration (sanad) and the collector's commentary; the English translation shows the Prophet's words only.
وَعَنِ الْحَسَنِ بْنِ عَمْرٍو الْفُقَيْمِيِّ، عَنْ مُنْذِرٍ الثَّوْرِيِّ، عَنْ مُحَمَّدِ ابْنِ الْحَنَفِيَّةِ قَالَ: لَيْسَ بِحَكِيمٍ مَنْ لاَ يُعَاشِرُ بِالْمَعْرُوفِ مَنْ لاَ يَجِدُ مِنْ مُعَاشَرَتِهِ بُدًّا، حَتَّى يَجْعَلَ اللَّهُ لَهُ فَرَجًا أَوْ مَخْرَجًا.
Muhammad ibn al-Hanafiyya said, "Not wise is he who does not deal
correctly with a person whose company he cannot avoid until Allah appoints
for him a release or a way out."
Topics
About Al-Adab Al-Mufrad
This hadith is #891 from Al-Adab Al-Mufrad, in the Book of Consequences.