Skip to content
Joyful Muslims
Store
Get the app
Daily Life

What is the Islamic etiquette of friendship?

The scholars taught that friends shape the afterlife of the one who keeps them. They laid down the qualities to seek in a companion — and the qualities that should send one running.

10 passages from 6 books in the library

Al-Ghazali taught that one's companions shape one's afterlife, so a friend must be chosen with care. In his books on brotherhood and seclusion he urges seeking someone whose company benefits you and reminds you of Allah — 'if you forget, the companion reminds; if you remember, the companion assists' — and he holds that defending a brother against slander is an obligation of the bond of brotherhood. He recalls the Prophet's ﷺ words that he would have taken Abu Bakr as his closest friend, naming companionship in study, travel, neighborhood and faith as ties worth honoring.

Drawn from the classical sources below — in the scholars' own words.

Where the answer comes from

The classical approach.

These passages are drawn from 6 books by Imam al-Ghazali — part of the classical Sunni tradition that carries over a thousand years of reflection on the Qurʾān, the authentic Sunnah, and the consensus of the early community. Nothing below is a paraphrase. The words are the scholars' own, translated from the original Arabic manuscripts.

Read them closely. If a passage doesn't sit right, open the full book in the library and listen to the chapter around it. Context in the classical tradition is everything.

Cover of Book 16: Etiquettes of Seclusion
Book 16: Etiquettes of Seclusion
Imam al-Ghazali · Ihya’ ‘Ulum al-Din

11th–12th century · Ṭūs, Khurāsān
Reviving the inner life of Islam through the Iḥyāʾ ʿUlūm al-Dīn — one of the most influential works ever written in any religious tradition.
More on Imam al-Ghazali → · Provenance →

  1. "intimate friend, but your companion is the intimate friend of Allah, is narrated by Muslim"

  2. "friend, I would have taken Abu Bakr as an intimate friend, but your companion is the"

  3. "without a friend to converse with daily. Thus he should strive to find someone whose company"

Cover of Book 35: The Book of Divine Unity and Trust in God
Book 35: The Book of Divine Unity and Trust in God
Imam al-Ghazali · Ihya' 'Ulum al-Din

11th–12th century · Ṭūs, Khurāsān
Reviving the inner life of Islam through the Iḥyāʾ ʿUlūm al-Dīn — one of the most influential works ever written in any religious tradition.
More on Imam al-Ghazali → · Provenance →

  1. "knowledge is indeed a fine companion, may God reward it well on my behalf, for now a friend has revealed to me the"

Cover of Book 40: The Book of the Remembrance of Death and the Afterlife
Book 40: The Book of the Remembrance of Death and the Afterlife
Imam al-Ghazali · Ihya' 'Ulum al-Din

11th–12th century · Ṭūs, Khurāsān
Reviving the inner life of Islam through the Iḥyāʾ ʿUlūm al-Dīn — one of the most influential works ever written in any religious tradition.
More on Imam al-Ghazali → · Provenance →

  1. "is the friend of the Most Merciful, indicating that divine friendship filled his heart completely."

  2. "He said, If I were to take a close companion, I would have taken Abu Bakr, but your companion"

Cover of Book 15: Friendship and Brotherhood
Book 15: Friendship and Brotherhood
Imam al-Ghazali · Ihya’ ‘Ulum al-Din

11th–12th century · Ṭūs, Khurāsān
Reviving the inner life of Islam through the Iḥyāʾ ʿUlūm al-Dīn — one of the most influential works ever written in any religious tradition.
More on Imam al-Ghazali → · Provenance →

  1. "Thus, protecting brotherhood by repelling defamation is obligatory in the bond of brotherhood."

  2. "It could also be neighborhood, companionship of travel or study, or friendship or brotherhood."

Ask a follow-up

Want a different angle?

Type your question below — JM Scholar will ground its answer in the same sources.

Grounded in the Qurʾān, authentic Sunnah, and the four madhāhib. Sourced answers. Never a fatwā — for personal matters, ask a qualified imam. How JM Scholar works →

Related questions

Keep exploring.

Hear these in full

Books these passages are from.

Open in App Store