It is narrated from Imam Sadeq (AS) who said:
Friendship is not genuine and correct if it does not have its conditions. Therefore, if those conditions or part of it exists in any person, he/she can be part of this kind of friendship, and if a person does not have those conditions, do not consider him/her as a friend. And the five characteristics of those conditions are:
- Inside and out be the same; meaning does not pretend to be friend in front of you and your enemy behind your back.
- Appreciates your achievements as his/her own and your faults as his/her own; meaning gets happy and proud of your achievements, and if sees a fault in you tries to rectify it.
- Wealth and high position does not change his/her behaviour towards you.
- Does not stop helping you; meaning, if you need help in any situation and he/she is able to help, then he/she makes sure that help is given to you.
- Does not abandon you in a desperate situation; meaning, when you face a calamity in life, does not leave you on your own [1].
[1] Osul Kafi, Vol. 4, Page 452.
Source: en.shafaqna.com