Published on

Dua for a Good Companion: Asking Allah for the Right People

Authors
  • Ahmad
    Name
    Ahmad
    Role
    Senior Marketing Manager, Islamic education โ€ข Deen Back

ุจูุณู’ู…ู ุงู„ู„ู‡ู ุงู„ุฑูŽู‘ุญู’ู…ูฐู†ู ุงู„ุฑูŽู‘ุญููŠู’ู…ู

In the name of God, the Most Gracious, the Most Merciful.

Two sets of prayer beads resting side by side on a wooden surface, warm morning light through a window, soft cream and green tones, peaceful atmosphere

You already know that the people around you change you. You have felt it โ€” in friendships that made you worse, and in rare ones that made you better. The ones that made you laugh at things you later regretted. And the ones that made you want to pray.

The Prophet (peace be upon him) put it plainly: "A man is on the religion of his companion." (Abu Dawud 4833)

Not occasionally influenced by. On the religion of. Your companions do not just affect your mood โ€” they shape your deen. Your standards, your habits, your definition of what is normal in this life โ€” all of these are negotiated constantly with the people around you.

This is why asking Allah for a good companion is not a small request. It might be one of the most consequential duas you ever make.

The Dua for a Good Companion

When asking Allah for righteous companions and good people in your life, say:

ุงู„ู„ูŽู‘ู‡ูู…ูŽู‘ ุฅูู†ูู‘ูŠ ุฃูŽุณู’ุฃูŽู„ููƒูŽ ุฑูŽูููŠู‚ู‹ุง ุตูŽุงู„ูุญู‹ุง

Allahumma inni as'aluka rafiqan salihan.

"O Allah, I ask You for a righteous companion." โ€” (Based on narrations encouraging dua for righteous companionship)

Additionally, the Prophet (peace be upon him) taught a comprehensive dua for guidance and good in all affairs โ€” including the people who surround you:

ุงู„ู„ูŽู‘ู‡ูู…ูŽู‘ ุฅูู†ูู‘ูŠ ุฃูŽุณู’ุฃูŽู„ููƒูŽ ุงู„ู’ู‡ูุฏูŽู‰ ูˆูŽุงู„ุชูู‘ู‚ูŽู‰ ูˆูŽุงู„ู’ุนูŽููŽุงููŽ ูˆูŽุงู„ู’ุบูู†ูŽู‰

Allahumma inni as'aluka al-huda wat-tuqa wal-'afafa wal-ghina.

"O Allah, I ask You for guidance, God-consciousness, chastity, and self-sufficiency." โ€” (Muslim 2721)

When to say it: In every dua session โ€” after salah, in sujud, in the last third of the night. Make it a regular request rather than a one-time ask.

The Story Behind It

The Prophet (peace be upon him) described two types of companions with a vivid example:

"The example of a good companion and a bad companion is like that of the seller of musk and the one who works the bellows. The seller of musk will either give you some, or you will buy some, or at least you will catch a pleasant smell from them. As for the one who works the bellows, he will either burn your clothes, or you will get an unpleasant smell from him." (Bukhari 5534)

Every person in your life is one or the other. They are either adding fragrance or smoke to your soul.

The Quran itself warns about the companion we regret on the Day of Judgment:

ูˆูŽูŠูŽูˆู’ู…ูŽ ูŠูŽุนูŽุถูู‘ ุงู„ุธูŽู‘ุงู„ูู…ู ุนูŽู„ูŽู‰ ูŠูŽุฏูŽูŠู’ู‡ู ูŠูŽู‚ููˆู„ู ูŠูŽุง ู„ูŽูŠู’ุชูŽู†ููŠ ุงุชูŽู‘ุฎูŽุฐู’ุชู ู…ูŽุนูŽ ุงู„ุฑูŽู‘ุณููˆู„ู ุณูŽุจููŠู„ู‹ุง

"And the Day the wrongdoer will bite on his hands, he will say: Oh, I wish I had taken the path alongside the Messenger." โ€” (Surah Al-Furqan, 25:27)

And the next verse:

ูŠูŽุง ูˆูŽูŠู’ู„ูŽุชูŽู‰ ู„ูŽูŠู’ุชูŽู†ููŠ ู„ูŽู…ู’ ุฃูŽุชูŽู‘ุฎูุฐู’ ููู„ูŽุงู†ู‹ุง ุฎูŽู„ููŠู„ู‹ุง

"Oh, woe to me. I wish I had not taken so-and-so as a friend." โ€” (Surah Al-Furqan, 25:28)

That person on the Day of Judgment is not someone who had bad friends by accident. They chose those companions over better ones. They let comfort and habit override discernment.

Making dua for a good companion is a declaration that you want to choose better.

How to Make This Dua Part of Your Daily Life

The dua is important. But it pairs with action. Here is how to work both sides:

  • Make the dua consistent and specific. In your daily salah, especially in sujud, ask Allah for righteous companions. Be specific about what you need โ€” a friend who encourages prayer, a mentor who keeps you accountable, a spouse who supports your deen. Allah responds to specificity.

  • Be the companion you are asking for. The Prophet (peace be upon him) said you will be with those you love (Muslim 2641). Love righteous people, study their qualities, and build those qualities in yourself. Righteous people are drawn to righteous people.

  • Evaluate your current circle intentionally. Not with judgment โ€” but with honest assessment. After spending time with each person in your regular life, ask: do I feel closer to Allah or further away? This question has revealing answers.

  • Seek Islamic environments deliberately. The masjid, Islamic study circles, halal social groups โ€” these are where good companions are concentrated. Showing up consistently in these spaces is how righteous friendships begin. See dua for entering masjid to start the Sunnah of making the masjid central to your social life.

  • Limit but do not eliminate. You do not need to cut off everyone who is not perfect. But you do need to manage time and influence. Limit the time with those who pull you down, increase time with those who lift you up, and make dua for everyone in your circle.

Build Your Deen with the Right Support

Righteous companions and good habits go together. Deen Back helps you build daily Islamic habits โ€” so you become the kind of person who attracts the companions you need.

Download on the App StoreGet it on Google Play

Free download. Premium features available in-app.

Dua for finding a spouse:

The search for a righteous life partner is the search for the most important companion. See dua for finding a spouse for duas specifically focused on marriage.

Dua for good husband or wife:

If you are married and seeking a stronger, more righteous partnership, see dua for good husband or dua for good wife for focused supplications.

Dua for sincerity in worship:

Being a good companion yourself starts with sincerity. See dua for sincerity in worship to purify your own intentions โ€” which makes you a better friend to others.

Dua for guidance:

ุงู‡ู’ุฏูู†ูŽุง ุงู„ุตูู‘ุฑูŽุงุทูŽ ุงู„ู’ู…ูุณู’ุชูŽู‚ููŠู…ูŽ ุตูุฑูŽุงุทูŽ ุงู„ูŽู‘ุฐููŠู†ูŽ ุฃูŽู†ู’ุนูŽู…ู’ุชูŽ ุนูŽู„ูŽูŠู’ู‡ูู…ู’

"Guide us to the straight path โ€” the path of those upon whom You have bestowed favor." โ€” (Surah Al-Fatihah, 1:6-7)

Notice you are asking to be guided to the path of those whom Allah blessed โ€” you are asking to walk with those people. Guidance and companionship are inseparable.

Common Questions

What if I have been a bad companion myself?

Start with tawbah. The same mercy that covers personal sins covers the harm done as a bad companion. Make sincere repentance for any hurt caused, make amends where possible, and use the dua to become the righteous companion you want to find. You are not disqualified from asking โ€” you are being given a reason to change.

How long should I make this dua before expecting results?

Continue the dua for as long as the need exists. Allah responds in ways and timelines we do not always understand. Some companions arrive quickly; others come after years of dua, preparation, and the right circumstances. Trust the process and trust that every dua is heard.

Is it permissible to end a friendship?

Yes, with wisdom. You are not obligated to maintain friendships that consistently pull you toward harm. Gradually reducing investment in harmful relationships โ€” while avoiding unnecessary drama or cutting off โ€” is permissible and sometimes necessary. The dua for good companions includes making space for them to arrive.

Can I make this dua on behalf of my children?

Absolutely. The Quran records prophets making duas for their children's companions and environments. Ask Allah to surround your children with righteous friends, particularly before they reach the age when peer influence becomes dominant.

The Right People Are a Gift From Allah

You cannot manufacture good companions. You can put yourself in environments where they exist, build the qualities that attract them, and make consistent dua asking Allah to send them.

The Prophet (peace be upon him) said: "A man is with those he loves." (Muslim 2641) And he also said that on the Day of Judgment, the only shade will be for seven categories of people โ€” and one of them is two people who loved each other for Allah's sake. (Bukhari 660)

That is the friendship to ask for. Not a companion who makes your life comfortable โ€” a companion who helps you stand in that shade.

Ask for them. Today.

Build the Habits That Attract Good People

Righteous companions are drawn to righteous people. Deen Back helps you build the daily Islamic habits that make you the kind of Muslim who attracts the circle you are making dua for.

Download on the App StoreGet it on Google Play

Free download. Premium features available in-app.

Frequently Asked Questions

Is there a dua for finding a good companion or friend in Islam?

Yes. The Prophet (peace be upon him) taught: Allahumma inni as'aluka rafiqan salihan โ€” O Allah, I ask You for a righteous companion. This is referenced in various narrations encouraging Muslims to ask Allah for good companions. Additionally, the comprehensive dua for good in all affairs covers righteous companionship: Allahumma inni as'aluka al-huda wat-tuqa wal-afafa wal-ghina (Muslim 2721).

Why are companions so important in Islam?

The Prophet (peace be upon him) said: 'A man is on the religion of his companion, so let each of you look to whom he keeps company with.' (Abu Dawud 4833, Tirmidhi 2378). This is not just social advice โ€” it is a spiritual law. The people around you shape your standards, your habits, and your relationship with Allah. Righteous companions are one of the greatest gifts Allah can give you.

How do I know if someone is a good companion from an Islamic perspective?

The Prophet (peace be upon him) described the good companion as like a perfume seller โ€” even if you do not buy anything, you benefit from the pleasant scent. A good companion reminds you of Allah, encourages your good, restrains you from sin, and makes you want to be better. When you leave their company, you feel closer to Allah than when you arrived.

Can I make dua for a specific person to be my companion?

Yes. You can make dua for specific people to enter your life or for existing relationships to be strengthened and purified. Ask Allah to place righteous people around you and to remove harmful influences โ€” without specifying punishment for those who have harmed you. Leave the details to Allah and focus on what you need.

What if I cannot find good companions around me?

Begin by being the good companion you are looking for. The Prophet (peace be upon him) said a man is with those he loves (Muslim 2641) โ€” and making yourself righteous attracts righteous people. Meanwhile, make dua consistently, seek Islamic communities (masjid, study circles, online groups), and trust that Allah will send the right people at the right time.