In addition to the verses in the Quran, there are a few rather amazing Ahadees of the last Prophet Muhammad (s.a.w), which guides us regarding friendships. For example, consider the Hadees supplied below.
Prophet Muhammad has stated, "The believer is like a mirror into other believers (in truthfulness)." Just like a mirror, your buddy provides you an honest picture. He forgives your mistakes but doesn't conceal or subtract your strengths and flaws. You can get the intermediate quran course online via https://www.quranuniversity.co/intermediate-program/
Image source google
On a second occasion, the Prophet Muhammad (s.a.w) was asked, "What individual may be the very best friend?" "He helps you remember Allah (SWT), and informs you once you forget Him," the Prophet Muhammad (saw), advised.
The companions of the Holy Prophet Muhammad (s.a.w) were very much cautious in their choice of friends. The next two quotations of Ali Ibn e Talib show the truth.
Ali ibn(r.a) has stated, "The felicity of the and the following world lie in 2 matters: firstly, maintaining secrets; and second, friendship with the great. Along with the miseries of the and the next life are summed up in just two things: firstly, disclosing keys; and second, friendship with evil men."
Ali ibn Abi Talib (r.a) stated, "A buddy can't be thought of as a friend unless he's analyzed on three occasions in time of need, supporting the back, and after your death."
Before and while picking buddies, the Muslims should consider each of these factors. The verses of the Quran, the Hadees, and the expressions of the companions of the Holy Prophet Muhammad (s.a.w) would be genuine advice, which the Muslims have to follow.