Language:
كتاب فضائل القرآن
66  
Virtues of the Qur'an
(4)
Chapter: The scribe of the Prophet (saws)
(4)
باب كَاتِبِ النَّبِيِّ صلى الله عليه وسلم
Sahih al-Bukhari 4990

Narrated Al-Bara:

There was revealed: 'Not equal are those believers who sit (at home) and those who strive and fight in the Cause of Allah.' (4.95) The Prophet (ﷺ) said, "Call Zaid for me and let him bring the board, the inkpot and the scapula bone (or the scapula bone and the ink pot)."' Then he said, "Write: 'Not equal are those Believers who sit..", and at that time `Amr bin Um Maktum, the blind man was sitting behind the Prophet (ﷺ) . He said, "O Allah's Apostle! What is your order For me (as regards the above Verse) as I am a blind man?" So, instead of the above Verse, the following Verse was revealed: 'Not equal are those believers who sit (at home) except those who are disabled (by injury or are blind or lame etc.) and those who strive and fight in the cause of Allah.' (4.95)

حَدَّثَنَا عُبَيْدُ اللَّهِ بْنُ مُوسَى، عَنْ إِسْرَائِيلَ، عَنْ أَبِي إِسْحَاقَ، عَنِ الْبَرَاءِ، قَالَ لَمَّا نَزَلَتْ ‏{‏لاَ يَسْتَوِي الْقَاعِدُونَ مِنَ الْمُؤْمِنِينَ وَالْمُجَاهِدُونَ فِي سَبِيلِ اللَّهِ‏}‏ قَالَ النَّبِيُّ صلى الله عليه وسلم ‏"‏ ادْعُ لِي زَيْدًا وَلْيَجِئْ بِاللَّوْحِ وَالدَّوَاةِ وَالْكَتِفِ ـ أَوِ الْكَتِفِ وَالدَّوَاةِ ـ ثُمَّ قَالَ ‏"‏ اكْتُبْ لاَ يَسْتَوِي الْقَاعِدُونَ ‏"‏ وَخَلْفَ ظَهْرِ النَّبِيِّ صلى الله عليه وسلم عَمْرُو بْنُ أُمِّ مَكْتُومٍ الأَعْمَى قَالَ يَا رَسُولَ اللَّهِ فَمَا تَأْمُرُنِي فَإِنِّي رَجُلٌ ضَرِيرُ الْبَصَرِ فَنَزَلَتْ مَكَانَهَا ‏{‏لاَ يَسْتَوِي الْقَاعِدُونَ مِنَ الْمُؤْمِنِينَ‏}‏ فِي سَبِيلِ اللَّهِ ‏{‏غَيْرُ أُولِي الضَّرَرِ‏}‏‏"‏
Reference : Sahih al-Bukhari 4990
In-book reference : Book 66, Hadith 12
USC-MSA web (English) reference : Vol. 6, Book 61, Hadith 512
  (deprecated numbering scheme)