عَنْ أَبِي أُمَامَةَ الْبَاهِلِيِّ رَضِيَ اللَّهُ عَنْهُ قَالَ: لَمَّا كَانَ فِي حَجَّةِ الْوَدَاعِ قَامَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ وَهُوَ يَوْمَئِذٍ مُرْدِفٌ الْفَضْلَ بْنَ عَبَّاسٍ عَلَى جَمَلٍ آدَمٍ فَقَالَ: ((يَا أَيُّهَا النَّاسُ! خُذُوا مِنَ الْعِلْمِ قَبْلَ أَنْ يُقْبَضَ الْعِلْمُ وَقَبْلَ أَنْ يُرْفَعَ الْعِلْمُ)) وَقَدْ كَانَ أَنْزَلَ اللَّهُ عَزَّ وَجَلَّ: {يَا أَيُّهَا الَّذِينَ آمَنُوا لَا تَسْأَلُوا عَنْ أَشْيَاءَ إِنْ تُبْدَ لَكُمْ تَسُؤْكُمْ، وَإِنْ تَسْأَلُوا عَنْهَا حِينَ يُنَزَّلُ الْقُرْآنُ تُبْدَ لَكُمْ، عَفَا اللَّهُ عَنْهَا وَاللَّهُ غَفُورٌ حَلِيمٌ} قَالَ: فَكُنَّا نَذْكُرُهَا كَثِيرًا مِنْ مَسْأَلَتِهِ وَاتَّقَيْنَا ذَاكَ حِينَ أَنْزَلَ اللَّهُ عَلَى نَبِيِّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ، قَالَ: فَأَتَيْنَا أَعْرَابِيًّا فَرَشَوْنَاهُ بِرِدَاءٍ، قَالَ: فَاعْتَمَّ بِهِ حَتَّى رَأَيْتُ حَاشِيَةَ الْبُرْدِ خَارِجَةً مِنْ حَاجِبِهِ الْأَيْمَنِ، قَالَ: ثُمَّ قُلْنَا لَهُ: سَلِ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ، قَالَ: فَقَالَ لَهُ: يَا نَبِيَّ اللَّهِ! كَيْفَ يُرْفَعُ الْعِلْمُ مِنَّا وَبَيْنَ أَظْهُرِنَا الْمَصَاحِفُ وَقَدْ تَعَلَّمْنَا مَا فِيهَا وَعَلَّمْنَا هَا نِسَاءَنَا وَذُرَّارِيَّنَا وَخَدَمَنَا؟ قَالَ: فَرَفَعَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ رَأْسَهُ وَقَدْ عَلَتْ وَجْهَهُ حُمْرَةٌ مِنَ الْغَضَبِ، قَالَ: فَقَالَ: ((أَيْ ثَكِلَتْكَ أُمُّكَ، وَهَذِهِ الْيَهُودُ وَالنَّصَارَى بَيْنَ أَظْهُرِهِمُ الْمَصَاحِفُ لَمْ يُصْبِحُوا يَتَعَلَّقُونَ بِحَرْفٍ مِمَّا جَاءَتْهُمْ بِهِ أَنْبِيَاؤُهُمْ، أَلَا وَإِنَّ مِنْ ذَهَابِ الْعِلْمِ أَنْ يَذْهَبَ حَمَلَتُهُ)) ثَلَاثَ مِرَارٍ
It is narrated from Sayyiduna Abu Umamah Bahili (may Allah be pleased with him), he says: On the occasion of the Farewell Pilgrimage, the Messenger of Allah (peace and blessings be upon him) stood up while he was mounted on a white camel, and Sayyiduna Fadl bin Abbas (may Allah be pleased with them both) was seated behind him. The Prophet (peace and blessings be upon him) said: "O people! Acquire knowledge before knowledge is taken away and lifted up." Meanwhile, Allah the Exalted had also revealed this command: «یٰٓاَیُّہَا الَّذِیْنَ اٰمَنُوْا لَا تَسْئَلُوْا عَنْ اَشْیَآئَ اِنْ تُبْدَ لَکُمْ تَسُؤْکُمْ» (O you who believe! Do not ask about things which, if made plain to you, may cause you trouble.) We used to ask the Prophet (peace and blessings be upon him) many questions, but when Allah the Exalted revealed this verse to His Prophet, we began to refrain from asking questions. (One day, for the sake of asking a question) we went to a Bedouin and gave him a sheet for this task. He tied it as a turban, and the edge of the sheet was seen hanging over his right eyebrow. Then we said to him: "You ask the Prophet (peace and blessings be upon him) a question." So he asked: "O Messenger of Allah! How will knowledge be taken away from us while the Qur'an is present among us, and we have learned it and taught it to our women, children, and servants?" The Noble Prophet (peace and blessings be upon him) raised his head, and due to anger, redness was visible on his face, and he said: "O so-and-so! May your mother lose you! These Jews and Christians have their books among them, but the situation is that they do not act upon a single provision of what their Prophets brought to them. Beware! The taking away of knowledge means that the bearers of knowledge will be taken away." The Prophet (peace and blessings be upon him) said this three times.