وَلَوْ أَنَّمَا فِى ٱلْأَرْضِ مِن شَجَرَةٍ أَقْلَٰمٌۭ وَٱلْبَحْرُ يَمُدُّهُۥ مِنۢ بَعْدِهِۦ سَبْعَةُ أَبْحُرٍۢ مَّا نَفِدَتْ كَلِمَٰتُ ٱللَّهِ ۗ إِنَّ ٱللَّهَ عَزِيزٌ حَكِيمٌۭ٢٧
If all the trees on earth were pens and the ocean [were ink], replenished by seven more oceans, the Words of Allah would not be exhausted. Indeed, Allah is All-Mighty, All-Wise.
[ ↗ Study from physical print edition ]And if whatever trees upon the earth were pens and the sea [was ink], replenished thereafter by seven [more] seas, the words of Allah would not be exhausted. Indeed, Allah is Exalted in Might and Wise.
[ ↗ Study from physical print edition ](And if all the trees in the earth were pens)" [31:27]. The commentators of the Qur'an said: "The Jews asked the Messenger of Allah, Allah bless him and give him peace, about the spirit, and so Allah, exalted is He, revealed (They will ask thee concerning the Spirit. Say: the Spirit is by command of my Lord, and of knowledge ye have been vouchsafed but little) [17:85]. When the Messenger of Allah, Allah bless him and give him peace, migrated to Medina, Jewish doctors went to see him and said: "O Muhammad, we have been informed that you said (of knowledge ye have been vouchsafed but little). Are you referring, by this, to us or to your people?" The Messenger of Allah, Allah bless him and give him peace, said: "The knowledge that you have is very little in comparison to the knowledge of Allah, glorified is He. Allah, exalted is He, has given you something which will benefit you if only you practise it". They said: "O Muhammad, how can you say this when it is you who says (" and he unto whom wisdom is given, he truly hath received abundant good)" [2:269]? How can little knowledge and abundant good be combined together?" As a response, Allah, exalted is He, revealed (And if all the trees in the earth were pens)".
27. If all the trees on Earth were to be cut and made into pens, and the seas multiplied by seven and turned into ink, the Words of Allah would not finish due to their being infinite. Indeed, Allah is the Almighty whom none can overcome; the Wise in His creation and decree.
And if all the trees on earth were pens and the sea wa’l-bahru is a supplement to mā the subject of anna replenished with seven more seas were ink the Words of God would not be spent those words expressing all the things He knows written in those pens with that amount of ink or with even more ink than that would not be spent for His knowledge exalted be He is infinite. Truly God is Mighty nothing being beyond Him Wise from Whose knowledge and wisdom nothing escapes.
This has been stated in the verse: وَلَوْ أَنَّمَا فِي الْأَرْضِ مِن شَجَرَةٍ أَقْلَامٌ (27) through a similitude. Says the similitude: 'If all trees that are on the earth were to be pens (or pens were to be made of all branches on them) and the ocean (converted into ink) is supported by seven seas following it, the words of Allah would (still) not come to an end.' The expression: کلمات اللہ (kalimatul-lah, i.e. the words of Allah) means His knowledge and wisdom (Ruh ul-Maani and Mazhari) which includes the manifestations of Divine power and Divine blessings. Then, the 'seven seas', referred to here, do not mean that there are seven seas present elsewhere. Instead of that, this is a manner of saying: Suppose if this ocean were to be replenished with seven more oceans, still then, all these words of Allah could not be committed to writing. Even the number of 'seven' appears here as a part of the example. No restriction is intended. Another verse of the Qur'an proves it. There it was said:قُل لَّوْ كَانَ الْبَحْرُ مِدَادًا لِّكَلِمَاتِ رَبِّي لَنَفِدَ الْبَحْرُ قَبْلَ أَن تَنفَدَ كَلِمَاتُ رَبِّي وَلَوْ جِئْنَا بِمِثْلِهِ مَدَدًاSay, 'If the ocean were to be ink for the Words of my Lord, the ocean would have been consumed before the Words of my Lord are exhausted, even though we were to bring another one, like it, in addition' - Al-Kahf, 18:109.In this verse, by saying: بِمِثْلِهِ (bimithlihi: like it), a clear hint has been given that, no matter how many oceans are supposed, their collective writing fluid cannot circumscribe the Words of Allah. Rationally, the reason is obvious. The oceans may be added one after the other and be they seven or seven thousand, they shall still remain limited while the Words of Allah (knowledge) are unlimited. How, then, can something limited make an all-encompassing coverage of what is unlimited?As it appears in some narratives, this verse was revealed in response to a question posed by Jewish priests. The reason which prompted them to ask this question was the verse of the Qur'an where it has been said: وَمَا أُوتِيتُم مِّنَ الْعِلْمِ إِلَّا قَلِيلًا (and you are not given but a little from the knowledge - A1-'Isra', 17:85). When the Holy Prophet ﷺ came to the blessed city of Madinah, some Jewish priests visited him and it was about this verse that they confronted him by saying, "You say that you have been given a little from the knowledge. Is this what you are saying about your people, or have you included us too therein?" The Holy Prophet ﷺ said, "I mean all," that is, 'our people and the Jews and Christians as well.' Thereupon, increasing the tempo of their opposition, they said, "To us, Allah Ta’ ala has given the Torah which stands out as: تِبْيَانًا لِّكُلِّ شَيْءٍ (an explanation of everything)." He said, "That too is but a little as compared to Divine Knowledge. Then, even the total knowledge contained in the Torah is not known to you either - what you go by is no more than a certain measure of what you need. Therefore, as compared to the Divine Knowledge, the collective knowledge of all Scriptures and Prophets is also nothing but a little." It was to support this statement that the verse: وَلَوْ أَنَّمَا فِي الْأَرْضِ مِن شَجَرَةٍ أَقْلَامٌ (And if all trees that are on the earth were to be pens... - 27) was revealed. (Ibn Kathir)
Tafsir al-Qurtubi [The Compendium of Legal Rulings]
تفسير القرطبي (الجامع لأحكام القرآن)لَمَّا احْتَجَّ عَلَى الْمُشْرِكِينَ بِمَا احْتَجَّ بَيَّنَ أَنَّ مَعَانِيَ كَلَامِهِ سُبْحَانَهُ لَا تَنْفَدُ، وَأَنَّهَا لَا نِهَايَةَ لَهَا. وَقَالَ الْقَفَّالُ: لَمَّا ذَكَرَ أَنَّهُ سَخَّرَ لَهُمْ مَا فِي السَّمَاوَاتِ وَمَا فِي الْأَرْضِ وَأَنَّهُ أَسْبَغَ النِّعَمَ نَبَّهَ عَلَى أَنَّ الْأَشْجَارَ لَوْ كَانَتْ أَقْلَامًا، وَالْبِحَارَ مِدَادًا فَكُتِبَ بِهَا عَجَائِبُ صُنْعِ اللَّهِ الدَّالَّةُ عَلَى قُدْرَتِهِ وَوَحْدَانِيَّتِهِ لَمْ تَنْفَدْ تِلْكَ الْعَجَائِبُ. قَالَ الْقُشَيْرِيُّ: فَرَدَّ مَعْنَى تِلْكَ الْكَلِمَاتِ إِلَى الْمَقْدُورَاتِ، وَحَمْلُ الْآيَةِ عَلَى الْكَلَامِ الْقَدِيمِ أَوْلَى، وَالْمَخْلُوقُ لَا بُدَّ لَهُ مِنْ نِهَايَةٍ، فَإِذَا نُفِيَتِ النِّهَايَةُ عَنْ مَقْدُورَاتِهِ فَهُوَ نَفْيُ النِّهَايَةِ عَمَّا يُقَدَّرُ فِي الْمُسْتَقْبَلِ عَلَى إِيجَادِهِ، فَأَمَّا مَا حَصَرَهُ الْوُجُودُ وَعَدَّهُ فَلَا بُدَّ مِنْ تَنَاهِيهِ، وَالْقَدِيمُ لَا نِهَايَةَ لَهُ عَلَى التَّحْقِيقِ. وَقَدْ مَضَى الْكَلَامُ فِي مَعْنَى "كَلِماتُ اللَّهِ" فِي آخِرِ "الْكَهْفِ" [[راجع ج ١١ ص ٦٨.]]. وَقَالَ أَبُو عَلِيٍّ: الْمُرَادُ بِالْكَلِمَاتِ وَاللَّهُ أَعْلَمُ مَا فِي الْمَقْدُورِ دُونَ مَا خَرَجَ مِنْهُ إِلَى الْوُجُودِ. وَهَذَا نَحْوٌ مِمَّا قَالَهُ الْقَفَّالُ، وَإِنَّمَا الْغَرَضُ الْإِعْلَامُ بِكَثْرَةِ مَعَانِي كَلِمَاتِ اللَّهِ وَهِيَ فِي نَفْسِهَا غَيْرُ مُتَنَاهِيَةٍ، وَإِنَّمَا قُرِّبَ الْأَمْرُ عَلَى أَفْهَامِ الْبَشَرِ بِمَا يَتَنَاهَى لِأَنَّهُ غَايَةُ مَا يَعْهَدُهُ الْبَشَرُ مِنَ الْكَثْرَةِ، لَا أَنَّهَا تَنْفَدُ بِأَكْثَرَ مِنْ هَذِهِ الْأَقْلَامِ وَالْبُحُورِ. وَمَعْنَى نُزُولِ الْآيَةِ: يَدُلُّ عَلَى أَنَّ الْمُرَادَ بِالْكَلِمَاتِ الْكَلَامُ الْقَدِيمُ. قَالَ ابْنُ عَبَّاسٍ: إِنَّ سَبَبَ هَذِهِ الْآيَةِ أَنَّ الْيَهُودَ قَالَتْ: يَا مُحَمَّدُ، كَيْفَ عُنِينَا بِهَذَا الْقَوْلِ ﴿وَما أُوتِيتُمْ مِنَ الْعِلْمِ إِلَّا قَلِيلًا﴾[[راجع ج ١٠ ص ٣٢٤.]] [الاسراء: ٨٥] وَنَحْنُ قَدْ أُوتِينَا التَّوْرَاةَ فِيهَا كَلَامُ اللَّهِ وأحكامه، وعندك أنها تبيان كل شي؟ فَقَالَ لَهُمْ رَسُولُ اللَّهِ ﷺ: (التَّوْرَاةُ قَلِيلٌ مِنْ كَثِيرٍ) وَنَزَلَتْ هَذِهِ الْآيَةُ، وَالْآيَةُ مَدَنِيَّةٌ. قَالَ أَبُو جَعْفَرٍ النَّحَّاسُ: فقد تبين أن الكلمات ها هنا يُرَادُ بِهَا الْعِلْمُ وَحَقَائِقُ الْأَشْيَاءِ، لِأَنَّهُ عَزَّ وجل علم قبل أن يَخْلُقَ الْخَلْقَ مَا هُوَ خَالِقٌ فِي السَّمَاوَاتِ والأرض من كل شي، وَعَلِمَ مَا فِيهِ مِنْ مَثَاقِيلَ الذَّرِّ، وَعَلِمَ الْأَجْنَاسَ كُلَّهَا وَمَا فِيهَا مِنْ شَعْرَةٍ وَعُضْوٍ، وَمَا فِي الشَّجَرَةِ مِنْ وَرَقَةٍ، وَمَا فِيهَا مِنْ ضُرُوبِ الْخَلْقِ، وَمَا يَتَصَرَّفُ فِيهِ مِنْ ضُرُوبِ الطَّعْمِ وَاللَّوْنِ، فَلَوْ سَمَّى كُلَّ دَابَّةٍ وَحْدَّهَا، وَسَمَّى أَجْزَاءَهَا عَلَى مَا عَلِمَ مِنْ قَلِيلِهَا وَكَثِيرِهَا وَمَا تَحَوَّلَتْ عَلَيْهِ مِنَ الْأَحْوَالِ، وَمَا زَادَ فِيهَا فِي كُلِّ زَمَانٍ، وَبَيَّنَ كُلَّ شَجَرَةٍ وَحْدَّهَا وَمَا تَفَرَّعَتْ إِلَيْهِ، وَقَدْرَ مَا يَيْبَسُ مِنْ ذَلِكَ فِي كُلِّ زَمَانٍ، ثُمَّ كُتِبَ الْبَيَانُ عَلَى كُلِّ وَاحِدٍ مِنْهَا مَا أَحَاطَ اللَّهُ جَلَّ ثَنَاؤُهُ بِهِ مِنْهَا، ثُمَّ كَانَ الْبَحْرُ مِدَادًا لِذَلِكَ الْبَيَانِ الَّذِي بَيَّنَ اللَّهُ تَبَارَكَ وَتَعَالَى عَنْ تِلْكَ الْأَشْيَاءِ يَمُدُّهُ مِنْ بَعْدِهِ سَبْعَةُ أَبْحُرٍ لَكَانَ الْبَيَانُ عَنْ تِلْكَ الْأَشْيَاءِ أَكْثَرَ. قُلْتُ: هَذَا مَعْنَى قَوْلِ الْقَفَّالِ، وَهُوَ قَوْلٌ حَسَنٌ إِنْ شَاءَ اللَّهُ تَعَالَى. وَقَالَ قَوْمٌ: إِنَّ قُرَيْشًا قَالَتْ سَيَتِمُّ هَذَا الْكَلَامُ لِمُحَمَّدٍ وَيَنْحَسِرُ، فَنَزَلَتْ وَقَالَ السُّدِّيُّ: قَالَتْ قُرَيْشُ مَا أَكْثَرَ كَلَامَ مُحَمَّدٍ! فَنَزَلَتْ. قَوْلُهُ تَعَالَى: ﴿وَالْبَحْرُ يَمُدُّهُ﴾ قِرَاءَةُ الْجُمْهُورِ بِالرَّفْعِ عَلَى الِابْتِدَاءِ، وَخَبَرُهُ فِي الْجُمْلَةِ الَّتِي بَعْدَهَا، وَالْجُمْلَةُ فِي مَوْضِعِ الْحَالِ، كَأَنَّهُ قَالَ: وَالْبَحْرُ هَذِهِ حَالُهُ، كَذَا قَدَّرَهَا سِيبَوَيْهِ. وَقَالَ بَعْضُ النَّحْوِيِّينَ: هُوَ عَطْفٌ عَلَى "أَنَّ" لِأَنَّهَا فِي مَوْضِعِ رَفْعٍ بِالِابْتِدَاءِ. وَقَرَأَ أَبُو عَمْرٍو وَابْنُ أَبِي إِسْحَاقَ: "وَالْبَحْرَ" بِالنَّصْبِ عَلَى الْعَطْفِ عَلَى "مَا" وَهِيَ اسْمُ "أَنَّ". وَقِيلَ: أَيْ وَلَوْ أَنَّ الْبَحْرَ يَمُدُّهُ أَيْ يَزِيدُ فِيهِ. وَقَرَأَ ابْنُ هُرْمُزَ وَالْحَسَنُ: "يَمُدُّهُ"، مِنْ أَمَدَّ. قَالَتْ فِرْقَةٌ: هُمَا بِمَعْنًى وَاحِدٍ. وَقَالَتْ فِرْقَةٌ: مَدَّ الشَّيْءُ بَعْضَهُ بَعْضًا، كَمَا تَقُولُ: مَدَّ النِّيلُ الْخَلِيجَ، أَيْ زَادَ فِيهِ. وَأَمَدَّ الشَّيْءَ مَا لَيْسَ مِنْهُ. وَقَدْ مَضَى هَذَا فِي "الْبَقَرَةِ. وَآلِ عِمْرَانَ" [[راجع ج ١ ص ٢٠٩ وج ٤ ص ١٩٤ فما بعد.]]. وَقَرَأَ جَعْفَرُ بْنُ مُحَمَّدٍ: "وَالْبَحْرُ مِدَادُهُ". "مَا نَفِدَتْ كَلِماتُ اللَّهِ" تَقَدَّمَ [[راجع ج ١١ ص ٦٨.]]. (إِنَّ اللَّهَ عَزِيزٌ حَكِيمٌ) تَقَدَّمَ أَيْضًا [[راجع ج ٢ ص ١٣١.]]. وَقَالَ أبو عبيدة: البحر ها هنا الْمَاءُ الْعَذْبُ الَّذِي يُنْبِتُ الْأَقْلَامَ، وَأَمَّا الْمَاءُ الملح فلا ينبت الأقلام.