In the middle of the verses on fasting, Allah turns to the subject of du'a in a single verse:

وَإِذَا سَأَلَكَ عِبَادِى عَنِّى فَإِنِّى قَرِيبٌ ۖ أُجِيبُ دَعْوَةَ ٱلدَّاعِ إِذَا دَعَانِ ۖ فَلْيَسْتَجِيبُوا۟ لِى وَلْيُؤْمِنُوا۟ بِى لَعَلَّهُمْ يَرْشُدُونَ

And when My servants ask you, [O Muḥammad], concerning Me - indeed I am near. I respond to the invocation of the supplicant when he calls upon Me. So let them respond to Me [by obedience] and believe in Me that they may be [rightly] guided.

Quran 2:186, Saheeh International

It is one of the shortest answers in the Quran, and one of the most intimate. Here is what it says, and what the Prophet ﷺ taught alongside it.

An answer with no "Say" in between

Al-Baqarah is full of questions put to the Prophet ﷺ, and they are answered through him. "They ask you about the crescent moons. Say..." (Quran 2:189). "They ask you what they should spend. Say..." (2:215). The same pattern runs through 2:217, 2:219, 2:220 and 2:222.

Quran 2:186 breaks it. "When My servants ask you concerning Me," and then, with no "Say" at all: "indeed I am near." The question goes to the Prophet ﷺ, but the answer comes from Allah directly, as if nothing should stand between the servant and the reply. Notice, too, that He calls them "My servants".

What "near" means here

The Prophet's ﷺ Companions learned this on a journey. They were raising their voices with "Allahu akbar" each time they climbed a hill, and he said: "O people, be gentle with yourselves. You are not calling on one who is deaf or absent. You are calling on One who is All-Hearing and Near, and He is with you" (Sahih al-Bukhari 2992; Sahih Muslim 2704). In one narration in Muslim he added that the One they called on was nearer to each of them than the neck of his own riding camel.

Ibn Kathir draws the point out: Allah does not disappoint anyone who calls on Him, and nothing distracts Him from them; He hears every du'a. You do not need to shout, travel, or find someone to pass the request on. In a hadith qudsi Allah says, "I am as My servant thinks of Me, and I am with him when he remembers Me" (Sahih al-Bukhari 7405; Sahih Muslim 2675).

Two responses, not one

The verse makes a promise and asks for something back. Allah says, "I respond to the invocation of the supplicant when he calls upon Me." Then: "So let them respond to Me [by obedience] and believe in Me that they may be [rightly] guided."

The same root word is used for both. Allah answers our call; we are asked to answer His. Du'a is not a one-way request. It is one side of a relationship, and the other side is obedience and faith. The verse ends by naming what that relationship produces: guidance.

Why it sits among the fasting verses

Quran 2:183 to 187 set out the fast of Ramadan, and 2:186 falls between them. Ibn Kathir saw a lesson in the placement: it encourages us to strive in du'a when the days of fasting are complete, and indeed at every breaking of the fast.

People often quote a hadith here, "The fasting person has a du'a at the time of breaking the fast that is not turned back" (Sunan Ibn Majah 1753). Its grading is disputed: al-Albani and Muhammad Fu'ad 'Abd al-Baqi graded it weak, while Shu'ayb al-Arna'ut and Zubair 'Ali Za'i graded it hasan. The encouragement to make du'a while fasting does not depend on it; the placement of the verse is enough.

Du'a is worship

A second verse makes the same promise and adds a warning:

وَقَالَ رَبُّكُمُ ٱدْعُونِىٓ أَسْتَجِبْ لَكُمْ ۚ إِنَّ ٱلَّذِينَ يَسْتَكْبِرُونَ عَنْ عِبَادَتِى سَيَدْخُلُونَ جَهَنَّمَ دَاخِرِينَ

And your Lord says, "Call upon Me; I will respond to you." Indeed, those who disdain My worship will enter Hell [rendered] contemptible.

Quran 40:60, Saheeh International

The Prophet ﷺ explained it in three words:

الدُّعَاءُ هُوَ الْعِبَادَةُ

"Du'a is worship." Then he recited, "And your Lord says, 'Call upon Me; I will respond to you'" (Quran 40:60).

Jami' al-Tirmidhi 2969; also Sunan Abi Dawud 1479. Al-Albani and Shu'ayb al-Arna'ut: sahih

Du'a is worship because it is the plainest admission of what a servant is: someone who needs, asking the only One who can give. That is why the Prophet ﷺ said, "Nothing is more honoured by Allah than du'a" (Jami' al-Tirmidhi 3370; al-Albani: hasan; Zubair 'Ali Za'i: weak), and why he said that whoever does not ask Allah, Allah is angry with him (Jami' al-Tirmidhi 3373 and Sunan Ibn Majah 3827; al-Albani: hasan; al-Arna'ut and Zubair 'Ali Za'i: weak). A person who never asks is acting as if he does not need Him.

The prophets called, and were answered

Surah al-Anbya shows the promise of 2:186 kept, one prophet after another. Yunus called out from the darkness inside the fish, "There is no deity except You; exalted are You. Indeed, I have been of the wrongdoers" (Quran 21:87), and the next verse says:

فَٱسْتَجَبْنَا لَهُۥ وَنَجَّيْنَـٰهُ مِنَ ٱلْغَمِّ ۚ وَكَذَٰلِكَ نُـۨجِى ٱلْمُؤْمِنِينَ

So We responded to him and saved him from the distress. And thus do We save the believers.

Quran 21:88, Saheeh International

Ayyub called and "We responded to him and removed what afflicted him" (21:84). Zakariyya called and "We responded to him, and We gave to him John" (21:90). That last verse also says what these prophets had in common: "they used to hasten to good deeds and supplicate Us in hope and fear." For who these prophets were and where they come in the line from Adam, see The Prophets of Islam in Order.

When the answer looks different

The promise is real, but the answer does not always take the shape we asked for. The Prophet ﷺ said: "There is no Muslim on the earth who calls on Allah with a du'a except that Allah gives it to him, or turns away from him an evil like it, as long as he does not ask for something sinful or for cutting ties of kinship." Someone said, "Then we will ask a lot," and he replied, "Allah has more" (Jami' al-Tirmidhi 3573; al-Albani: hasan sahih).

He also said, "Your Lord is modest and generous, and is too modest to turn away empty the hands of His servant when he raises them to Him" (Sunan Abi Dawud 1488; al-Albani: sahih), and warned against the one thing that does stop an answer: giving up, and saying "I prayed and was not answered" (Sahih al-Bukhari 6340; Sahih Muslim 2735).

For how to put all of this into practice, see How to Make Dua: Five Steps From the Quran and Sunnah.

Sources