Dua for Loneliness and Sadness: Comforting Duas From Quran

Dua for Loneliness and Sadness: Comforting Duas From Quran

Prayers from the Quran for the nights when you feel alone, with the stories of Zakariya, Yunus and Yaqub, and gentle steps forward.

رَبِّ لَا تَذَرْنِي فَرْدًا وَأَنتَ خَيْرُ الْوَارِثِينَ

───── ❖ ─────

Loneliness does not always look like an empty room. It can be a full family dinner where no one really sees you, a new city where your phone never rings, or the quiet after a divorce or a death. If you have typed “dua for loneliness” late at night, know first that the feeling is not a sign of weak faith. Prophets felt it too, and the Quran preserves the words they used when they turned to Allah in that state.

Below are those words in Arabic with transliteration and meaning, the context behind each one, and what Islam teaches about never being truly alone.

Rabbi La Tadharni Fardan: Zakariya’s Dua for Loneliness

Prophet Zakariya (peace be upon him) grew old without a child to carry on his mission. He called out to his Lord: If you searched for a dua for feeling loneliness, this verse is the closest match in the Quran.

رَبِّ لَا تَذَرْنِي فَرْدًا وَأَنتَ خَيْرُ الْوَارِثِينَ

Transliteration: Rabbi la tadharni fardan wa anta khayrul-warithin.

Meaning: My Lord, do not leave me alone [with no heir], while You are the best of inheritors.

Source: Quran 21:89

Audio: recitation of Surah al-Anbiya by Sheikh Mansour Al-Salmi (منصور السالمي) on YouTube, licensed CC BY (Creative Commons Attribution), trimmed to the dua only.

To be honest about the context: Zakariya was asking for an heir, and many people recite this verse when hoping for a child. Yet its words, “do not leave me alone”, speak to anyone who feels single and unseen, and nothing prevents you from using a Quranic dua for a need that matches its meaning. The very next verse shows how Allah replied: “So We responded to him” (Quran 21:90).

Dua for feeling lonely: Rabbi la tadharni fardan, Quran 21:89 in Arabic
Dua for feeling lonely (Quran 21:89)

Loneliness Dua From the Belly of the Whale

No one has been more alone than Yunus (peace be upon him): in the dark of the night, the sea and the whale. From there he called out:

لاَ إِلَهَ إِلاَّ أَنْتَ سُبْحَانَكَ إِنِّي كُنْتُ مِنَ الظَّالِمِينَ

Transliteration: La ilaha illa anta subhanaka inni kuntu minaz-zalimin.

Meaning: There is no deity except You; exalted are You. Indeed, I have been of the wrongdoers.

Source: Quran 21:87; wording as quoted in Jami‘ at-Tirmidhi 3505

The Prophet ﷺ said that no Muslim calls upon Allah with this dua for anything except that Allah responds to him (Jami‘ at-Tirmidhi 3505, graded sahih). It works as a dua for feeling lonely and depressed because it does two things at once: it affirms that Allah is there, and it lets you put down whatever guilt is weighing on you.

Yaqub’s Words: A Dua for Anxiety and Loneliness

After losing Yusuf and then his second son, Prophet Yaqub (peace be upon him) withdrew from people who did not understand his grief and said:

إِنَّمَا أَشْكُو بَثِّي وَحُزْنِي إِلَى اللَّهِ وَأَعْلَمُ مِنَ اللَّهِ مَا لَا تَعْلَمُونَ

Transliteration: Innama ashku baththi wa huzni ilallah, wa a‘lamu minallahi ma la ta‘lamun.

Meaning: I only complain of my suffering and my grief to Allah, and I know from Allah that which you do not know.

Source: Quran 12:86

This verse gives permission to feel and to say “I am hurting”, so long as the complaint is taken to Allah. Sometimes the best dua in loneliness is not a fixed formula at all, but an honest conversation with Him in your own language.

Dua in loneliness: Yaqub’s words, I only complain of my grief to Allah, Quran 12:86
Yaqub’s words in grief (Quran 12:86)

What Does the Quran Say About Loneliness?

The Quran never uses the modern word, but it answers the feeling again and again:

  • He is near. “And when My servants ask you concerning Me, indeed I am near. I respond to the call of the caller when he calls upon Me” (Quran 2:186).
  • Nearer than your own vein. “We are closer to him than his jugular vein” (Quran 50:16).
  • Never only one. Hiding in the cave with Abu Bakr, the Prophet ﷺ said: “Do not grieve; indeed Allah is with us” (Quran 9:40).
  • Where hearts find rest. “Unquestionably, by the remembrance of Allah hearts are assured” (Quran 13:28).

أَلَا بِذِكْرِ اللَّهِ تَطْمَئِنُّ الْقُلُوبُ

Transliteration: Ala bi-dhikrillahi tatma’innul-qulub.

Meaning: Unquestionably, by the remembrance of Allah hearts are assured.

Source: Quran 13:28

What Does Islam Say About Loneliness?

Islam is built around company: the five daily prayers in congregation, Jumu‘ah every Friday, keeping family ties, visiting the sick and greeting with salam. These are not only acts of worship; they are a structure that protects believers from isolation. Feeling lonely is not sinful, and it is not a punishment. It can be a reminder to turn back to Allah and, gently, back towards people.

If loneliness has turned into a heaviness that will not lift, low mood that lasts for weeks, or thoughts of harming yourself, please speak to a doctor or a trained counsellor as well as making dua. Seeking help is a means Allah has provided. Our dua for anxiety and dua in distress pages may also help on hard days.

Dua for Protection from Loneliness and How to Get Through It, One Step at a Time

  1. Talk to Allah every night in your own words, even for two minutes.
  2. Pray at the masjid when you can; a familiar face at Fajr changes a week.
  3. Read one page of the Quran a day and let it keep you company.
  4. Reach out to one person this week: a relative, an old friend, a neighbour.
  5. If the sadness stays, book an appointment with a professional.
How to get through loneliness: five gentle steps from an Islamic view
Five steps when you feel alone

Frequently Asked Questions

Is there a prayer for loneliness?

There is no hadith naming a dua only for loneliness, but Quran 21:89 (Rabbi la tadharni fardan wa anta khayrul-warithin) and Quran 21:87 (the dua of Yunus) are widely recited when feeling alone.

What does Islam say about loneliness?

Islam teaches that Allah is always near (Quran 2:186) and builds community through congregational prayer and family ties. Feeling lonely is not a sin, and seeking company and help is encouraged.

What does the Quran say about loneliness?

The Quran says Allah is closer to us than our jugular vein (Quran 50:16) and that hearts find rest in His remembrance (Quran 13:28).

What is the dua for feeling lonely?

Recite Rabbi la tadharni fardan wa anta khayrul-warithin, “My Lord, do not leave me alone, while You are the best of inheritors” (Quran 21:89).

What is the dua for sadness?

Yaqub’s words are a powerful choice: Innama ashku baththi wa huzni ilallah, “I only complain of my suffering and my grief to Allah” (Quran 12:86).

How to get through loneliness?

Combine dua with action: talk to Allah daily, pray in congregation, reconnect with one person at a time, and seek professional help if the sadness persists.

How to fight loneliness alone?

Fill your solitude with dhikr and Quran, keep a routine of prayer, and take small steps toward people. You are never fully alone, since Allah is with you (Quran 9:40).

Is there a dua against loneliness and depression?

The dua of Yunus, La ilaha illa anta subhanaka inni kuntu minaz-zalimin, is one the Prophet ﷺ said Allah answers (Jami‘ at-Tirmidhi 3505). Use it alongside medical support for depression.

Written by Muhammad Faiz

Muhammad Faiz is the founder and writer of Duapoint. He researches each dua from the Quran and the major hadith collections and explains its meaning and context. Read our editorial policy.

Popular Duas
Qur’anic Reminder

أَلَا بِذِكْرِ اللَّهِ تَطْمَئِنُّ الْقُلُوبُ

“Verily, in the remembrance of Allah do hearts find rest.”

Surah Ar-Ra’d 13:28

More Duas You May Like