It is narrated from sixth Shia Imam Jafar Sadeq (AS) who said:
The one who has all the following conditions is a complete friend; otherwise the level of friendship is reduced to the extent of the decrease in those conditions, and if has none of them, basically cannot be considered as a friend.
- Be the same on the surface (outwardly) as well as inwardly (within the mind)
- To consider your goodness, badness, and dignity as his/hers
- If his/her financial situation improved significantly and became wealthy, his/her behaviour does not change toward you
- Helps you to his/her ability and power
- Does not forget and leave you on your own in difficulty and distress [1].
[1] Wasa’elul Shia, Vol. 12, Page 146.
Source: en.shafaqna.com