كتاب الصلاة
4  
The Book of Prayers
(41)
Chapter: The Prohibition Of Reciting The Quran While Bowing And Prostrating
(41)
باب النَّهْىِ عَنْ قِرَاءَةِ الْقُرْآنِ، فِي الرُّكُوعِ وَالسُّجُودِ ‏‏
Sahih Muslim 479 b

'Abdullah b. 'Abbas reported:

The Messenger of Allah (ﷺ) drew aside the curtain and his head was bandaged on account of illness in which he died. He said: O Allah, have I not delivered (Thy Message)? (He repeated it) three times. Nothing has been left out of the glad tidings of apostlebood, but good vision. which a pious servant (of Allah) sees or someone else is made to see for him. He then narrated like the hadith transmitted by Sufyan.
قَالَ أَبُو بَكْرٍ حَدَّثَنَا سُفْيَانُ، عَنْ سُلَيْمَانَ، حَدَّثَنَا يَحْيَى بْنُ أَيُّوبَ، حَدَّثَنَا إِسْمَاعِيلُ بْنُ جَعْفَرٍ، أَخْبَرَنِي سُلَيْمَانُ بْنُ سُحَيْمٍ، عَنْ إِبْرَاهِيمَ بْنِ عَبْدِ اللَّهِ بْنِ مَعْبَدِ بْنِ عَبَّاسٍ، عَنْ أَبِيهِ، عَنْ عَبْدِ اللَّهِ بْنِ عَبَّاسٍ، قَالَ كَشَفَ رَسُولُ اللَّهِ صلى الله عليه وسلم السِّتْرَ وَرَأْسُهُ مَعْصُوبٌ فِي مَرَضِهِ الَّذِي مَاتَ فِيهِ فَقَالَ ‏"‏ اللَّهُمَّ هَلْ بَلَّغْتُ ‏"‏ ‏.‏ ثَلاَثَ مَرَّاتٍ ‏"‏ إِنَّهُ لَمْ يَبْقَ مِنْ مُبَشِّرَاتِ النُّبُوَّةِ إِلاَّ الرُّؤْيَا يَرَاهَا الْعَبْدُ الصَّالِحُ أَوْ تُرَى لَهُ ‏"‏ ‏.‏ ثُمَّ ذَكَرَ بِمِثْلِ حَدِيثِ سُفْيَانَ ‏.‏
Reference : Sahih Muslim 479b
In-book reference : Book 4, Hadith 237
USC-MSA web (English) reference : Book 4, Hadith 971
  (deprecated numbering scheme)