Thematic study

If the Sea Were Ink: Al-Kahf's Vast Image for the Words of God

A study of Qur'an 18:109 and its twin 31:27, exploring how the image of seas turned to ink expresses the inexhaustibility of God's words, and tracing the connected themes of pen, knowledge, ocean, and humility across the Qur'an.

Somewhere near the end of Surah al-Kahf, the Qur'an pauses the stories and opens a window onto something immeasurable. Imagine every ocean on earth turned into ink, and the ink spent, letter by letter, on writing the words of the Lord: the sea would run dry before those words did, and even a second sea, brought in addition, would not finish the task []. It is one of the most luminous images in the whole Book, and it invites a quiet, wonder-filled reading. This dossier follows that image where it appears, listens to the Arabic words that carry it, and gathers the passages around it that speak of pens and seas, of knowledge and humility, of words that never run out.

An image placed at the threshold

The verse stands near the close of Surah al-Kahf, right before the final verse of the surah []. After four long stories — the young believers in the cave, the man of the two gardens, Moses meeting the one to whom God had given mercy and knowledge, and the traveler of the two easts and wests — the voice of the Qur'an suddenly lifts the reader's gaze. Everything told so far was wisdom given in measure; behind all of it lies a treasure of words no library could hold. The key Arabic word here is kalimāt (كَلِمَات), the plural of kalima, a plain word meaning "words" or "sayings." The verse does not say merely "thoughts" or "signs," but words — as though God's meaning could fill pages beyond counting, and still the pages would end before the meaning did.

The words of the verse itself

Three Arabic roots carry the verse []. Al-bahr (البَحْر) is the sea, a word the Qur'an uses for the open ocean. Al-midād (المِدَاد) is ink — the dark liquid of a pen; in this verse it appears twice, first as the ink the seas would become, and then in the phrase bi-mithlihi madadan, "the like of it in addition," where the same root returns to mean a further supply of ink. And the verb from the root n-f-d means "to be used up, to run dry": la-nafidati al-bahru — "the sea would surely be spent." The same root appears again in the twin verse [] as lā tanfadu, "they would never run out." It is a gentle word, the kind used for a water jar emptied to its last drop. The Qur'an chooses it on purpose: the sea, the largest thing a reader of that time could imagine, becomes a small jar beside God's words.

A second sea, a second saying

The image is so precious that the Qur'an tells it twice. In Surah Luqman, after the wise father's counsel to his son, the Book says that if all the trees on earth were pens and the sea, replenished by seven more seas, were ink, the words of God would not be exhausted — and then adds a tender reason: "Indeed, God is Mighty and Wise" []. Here a new word enters: sabʿatu abḥurin, "seven seas," a figure of fullness and abundance. The two verses are true companions: [] speaks of one sea plus one more in addition; [] of seven seas after the first. Whether two or eight, the arithmetic makes the same point by failing on purpose — no number can count what the image points to. And note what follows the first verse in the same surah: the words are "the words of my Lord," kalimāti rabbī, spoken in the first person of humility even while describing the infinite.

Where the pen was first promised

Writing runs deep in the Qur'an from its earliest revealed pages. The first passage ever sent down begins with a pen: the Lord "who taught by the pen, taught man that which he knew not" []. Reading, writing, and the ink-stained hand are presented from the very start as gifts that lift human beings toward knowledge. Another surah opens with a single mysterious word, nūn, followed by the oath "by the pen and what they write" []. So when al-Kahf imagines seas turned to ink, it is not inventing an isolated picture — it is extending a theme the Qur'an has carried from the beginning: that writing is sacred labor, and that God Himself is the first speaker whose speech no book can exhaust. The pens of earth write fragments; the words they try to write remain whole and endless above them.

The stories that prepare the heart

Why does this verse stand at the end of Surah al-Kahf? Look back at what the surah has taught. The youths in the cave were given strength of heart and firm words when they stood for truth []. The man with two gardens learned that everything he owned could vanish overnight. Moses, the greatest prophet of his people, had to accept that another servant of God knew things he did not, and learned to say, with beautiful patience, "You will find me, God willing, patient" []. Each story humbles a different kind of pride: the pride of youth, of wealth, of knowledge, of power. The ink verse is the seal on all four lessons. If the words behind every story are bottomless, then no single story — and no single reader's understanding — can claim to have reached the bottom either.

Knowledge given in measure

The Qur'an is honest about the limits of every human mind. About the soul, it says: "You have been given of knowledge only a little" []. And Moses is taught to pray a prayer that teenagers and scholars alike can hold on to: "My Lord, increase me in knowledge" [] — in Arabic, rabbi zidnī ʿilmā. These verses do not discourage learning; they bless it while keeping it in scale. The sea of ink says the same thing in picture form. What we know, in a lifetime or a civilization, is a dip of the pen; the source remains. Elsewhere the Qur'an even distinguishes between clear verses in its own text and others "whose meaning none knows but God," while those grounded in knowledge say, "We believe in it; all is from our Lord" []. Humility here is not ignorance — it is the correct posture before an inexhaustible Book.

Counting, and failing to count

The Qur'an uses this same logic of failed arithmetic in another register. "If you tried to count God's favors, you could not number them; indeed God is Forgiving, Merciful" []. The blessings, like the words, overflow every ledger. It belongs to a wider pattern: the Book repeatedly offers totals it then declares uncountable — favors [], words [], the divine names and attributes praised by all things []. The Arabic verb aḥṣā, "to count or enumerate," appears in these passages as a door that opens onto a room with no far wall. The lesson is not that counting is useless, but that counting should end in wonder rather than in the illusion of completion. A student who learns one verse deeply has drawn one cup from the sea — and the sea does not notice the cup, and the student does not need to pretend otherwise.

The sea as the Qur'an knows it

The Qur'an often turns to the sea, and never casually. It speaks of "darknesses, one above another," in the deep of a rolling sea covered by wave above wave, above clouds — darknesses one upon another []. Anyone who has looked at the ocean from a shore knows that feeling: light thins layer by layer, and below a certain depth there is no seeing at all. Al-Kahf's ink verse makes that darkness into a mirror: the same sea that hides things from our eyes could, if made into ink, still fail to record the words of God. The sea is thus a teacher in two directions — it shows us the edge of our sight, and it shows us the smallness of the largest thing we know. Both lessons point the same way: toward a Source vaster than the visible world.

A Book whose words are guarded

If God's words are inexhaustible in heaven, the words sent down in the Book are also declared secure. "Indeed, it is We who sent down the Reminder, and indeed We will guard it" []. The Arabic dhikr, "the Reminder," names the Qur'an here, and ḥafẓ, "to guard," promises its preservation. The connection with [] is close and comforting: the boundless words of the Lord are not lost or sealed away; a portion of them has been delivered in a form the community can read, memorize, and carry in the heart. Infinity, in other words, is not the opposite of intimacy. The same divine speech that no sea of ink could write down has chosen to speak in a Book that can fit in a reader's hands.

Infinite and near

One might ask: how can words so vast relate to one small person? The Qur'an answers with two tender verses placed not far apart in the early pages. God is "with them wherever they are," closer than the jugular vein, hearing and knowing []. And when God's servants ask about Him, He is near, answering the caller who calls []. The ink verse and the nearness verses belong together, like the two sides of one doorway. The words are immeasurable — and the One who speaks them listens to a whispered prayer. This is the comfort hidden inside the grandeur of []: the sea would run dry not because God's words are cold or distant, but precisely because they are alive, generative, still flowing like water, still answering those who turn to them.

How the surah closes

After the ink verse, Surah al-Kahf ends not with a further claim of greatness but with humility and mercy. The final verse commands the Prophet to say: "I am only a man like you, to whom it has been revealed that your God is one God" — and then to walk toward the One with repentance []. The Arabic word bashar, "a human being," places the messenger on the same ground as his hearers, while the phrase fa-man kāna yarjū liqāʾa rabbih — "whoever hopes to meet his Lord" — turns theology into a hopeful journey. This is the fitting end for a surah that began in a cave and ended at the edge of an ocean of words. Between those two places stands every reader.

The image of the sea turned to ink stays with a person long after the page is closed. It does not ask us to stop writing, reading, or counting; it asks us to keep writing with the joy of people who know the source will never dry. Every verse memorized, every line copied by hand through the centuries, every young person opening the Book for the first time — each is one more dip of the pen into waters that remain full. The words of the Lord, said the verse, would not be exhausted; and the heart that takes this gently to heart learns to read with wonder, to speak with humility, and to hope without end.

Cited verses