Topics

Friendship in the Quran and hadith

The friends you keep shape who you become. The Prophet ﷺ said a person follows the religion of their friend, and compared a good companion to someone selling musk. The Quran warns that close friends will be enemies on the Day of Judgment, except the righteous (43:67).

“How do I choose good friends as a Muslim?”

From the Quran

  1. ٱلْأَخِلَّآءُ يَوْمَئِذٍۭ بَعْضُهُمْ لِبَعْضٍ عَدُوٌّ إِلَّا ٱلْمُتَّقِينَ ﴿67﴾

    Close friends, that Day, will be enemies to each other, except for the righteous

    Az-Zukhruf 43:67
  2. وَيَوْمَ يَعَضُّ ٱلظَّالِمُ عَلَىٰ يَدَيْهِ يَقُولُ يَـٰلَيْتَنِى ٱتَّخَذْتُ مَعَ ٱلرَّسُولِ سَبِيلًا ﴿27﴾

    يَـٰوَيْلَتَىٰ لَيْتَنِى لَمْ أَتَّخِذْ فُلَانًا خَلِيلًا ﴿28﴾

    لَّقَدْ أَضَلَّنِى عَنِ ٱلذِّكْرِ بَعْدَ إِذْ جَآءَنِى ۗ وَكَانَ ٱلشَّيْطَـٰنُ لِلْإِنسَـٰنِ خَذُولًا ﴿29﴾

    27And the Day the wrongdoer will bite on his hands [in regret] he will say, "Oh, I wish I had taken with the Messenger a way.[1018] 28Oh, woe to me! I wish I had not taken that one[1019] as a friend. 29He led me away from the remembrance[1020] after it had come to me. And ever is Satan, to man, a deserter."[1021]

    Al-Furqan 25:27-29
  3. وَٱلْمُؤْمِنُونَ وَٱلْمُؤْمِنَـٰتُ بَعْضُهُمْ أَوْلِيَآءُ بَعْضٍ ۚ يَأْمُرُونَ بِٱلْمَعْرُوفِ وَيَنْهَوْنَ عَنِ ٱلْمُنكَرِ وَيُقِيمُونَ ٱلصَّلَوٰةَ وَيُؤْتُونَ ٱلزَّكَوٰةَ وَيُطِيعُونَ ٱللَّهَ وَرَسُولَهُۥٓ ۚ أُو۟لَـٰٓئِكَ سَيَرْحَمُهُمُ ٱللَّهُ ۗ إِنَّ ٱللَّهَ عَزِيزٌ حَكِيمٌ ﴿71﴾

    The believing men and believing women are allies of one another. They enjoin what is right and forbid what is wrong and establish prayer and give zakāh and obey Allāh and His Messenger. Those - Allāh will have mercy upon them. Indeed, Allāh is Exalted in Might and Wise.

    At-Tawbah 9:71
  4. إِنَّمَا ٱلْمُؤْمِنُونَ إِخْوَةٌ فَأَصْلِحُوا۟ بَيْنَ أَخَوَيْكُمْ ۚ وَٱتَّقُوا۟ ٱللَّهَ لَعَلَّكُمْ تُرْحَمُونَ ﴿10﴾

    The believers are but brothers, so make settlement between your brothers. And fear Allāh that you may receive mercy.

    Al-Hujurat 49:10
  5. وَٱصْبِرْ نَفْسَكَ مَعَ ٱلَّذِينَ يَدْعُونَ رَبَّهُم بِٱلْغَدَوٰةِ وَٱلْعَشِىِّ يُرِيدُونَ وَجْهَهُۥ ۖ وَلَا تَعْدُ عَيْنَاكَ عَنْهُمْ تُرِيدُ زِينَةَ ٱلْحَيَوٰةِ ٱلدُّنْيَا ۖ وَلَا تُطِعْ مَنْ أَغْفَلْنَا قَلْبَهُۥ عَن ذِكْرِنَا وَٱتَّبَعَ هَوَىٰهُ وَكَانَ أَمْرُهُۥ فُرُطًا ﴿28﴾

    And keep yourself patient [by being] with those who call upon their Lord in the morning and the evening, seeking His face [i.e., acceptance]. And let not your eyes pass beyond them, desiring adornments of the worldly life, and do not obey one whose heart We have made heedless of Our remembrance and who follows his desire and whose affair is ever [in] neglect.[787]

    Al-Kahf 18:28

From the hadith

  1. Abu Hurairah narrated that the Messenger of Allah(s.a.w) said:"A man is upon the religion of his friend, so let one of you look at whom he befriends

  2. Narrated Abu Musa:Allah's Messenger (ﷺ) said, "The example of a good companion (who sits with you) in comparison with a bad one, is like that of the musk seller and the blacksmith's bellows (or furnace); from the first you would either buy musk or enjoy its good smell while the bellows would either burn your clothes or your house, or you get a bad nasty smell thereof

  3. Narrated Aishah (ra):I heard the Prophet (ﷺ), "Souls are like recruited troops: Those who are like qualities are inclined to each other, but those who have dissimilar qualities, differ

  4. Abu Sa'eed narrated that the Messenger of Allah(s.a.w) said:"Do not accompany except a believer, and do not serve your food except to one with Taqwa

  5. Anas narrated that the Prophet(s.a.w) said:"None of you believes until he loves for his brother what he loves for himself

  6. Narrated `Abdullah:The Prophet (ﷺ) said, "Everyone will be with those whom he loves

Quran: the Arabic Uthmani text from Tanzil.net (CC BY 3.0); English, Saheeh International, from QuranEnc.com.

Hadith: the English and the grades from the open hadith dataset (fawazahmed0/hadith-api), the same narrations MuslimGPT checks every quote against. Each one opens its own page with the Arabic.

The introduction is ours. For a ruling on your own situation, ask a scholar you trust.