Ibn al-Muqaffa describes a friend: he blames no one until he knows their excuse
«وكان لا يلوم أحدًا فيما يكون العذر في مثله حتى يعلم ما عذره، وكان لا يشكو وجعه إلا عند من يرجو عنده البرء، ولا يستشير صاحبًا إلا أن يرجو منه النصيحة»
“He would not blame anyone for something that might be excused until he knew what the excuse was; he would not complain of his pain except to someone from whom he hoped for a cure; and he would not consult a companion unless he hoped for sincere advice from him.”
«فعليك بهذه الأخلاق إن أطقتها، ولن تطيق، ولكن أخذ القليل خير من ترك الجميع»
“So hold to these qualities if you can, and you will not manage it; but taking a little is better than abandoning everything.”
Ibn al-Muqaffa (d. 142 AH), as cited by Abd al-Rahman al-Barquqi (d. 1363 AH) in al-Dhakha'ir wa al-Abqariyyat
This is from Ibn al-Muqaffa's well-known counsel that begins "I had a brother", which al-Barquqi includes in his anthology, noting that it has also been transmitted as attributed to Ali ibn Abi Talib. He explains that the writer does not mean a particular brother, but draws a portrait of the perfect friend: one who takes his time before blaming, complains only to someone able to help, and consults only those who give sincere advice. He then ends on a realistic note: you will not attain all these qualities, but a little of them is better than giving them up.
مجلس