كتاب الجنائز
11  
The Book of Prayer - Funerals
(4)
Chapter: Closing the eyes of the deceased and supplicating for him, when he dies
(4)
باب فِي إِغْمَاضِ الْمَيِّتِ وَالدُّعَاءِ لَهُ إِذَا حُضِرَ
Sahih Muslim 920 b

This hadith has been narrated by Khalid al Hadhdha' with the same chain of transmitters but with this alteration that he said:

(O Allah! ) let Thee be the caretaker of what is left by him, and he said: Grant him expansion of the grave, but he did not say: Make his grave spacious. Khalid said: He supplicated for the seventh (thing too) which I have forgotten.
وَحَدَّثَنَا مُحَمَّدُ بْنُ مُوسَى الْقَطَّانُ الْوَاسِطِيُّ، حَدَّثَنَا الْمُثَنَّى بْنُ مُعَاذِ بْنِ مُعَاذٍ، حَدَّثَنَا أَبِي، حَدَّثَنَا عُبَيْدُ اللَّهِ بْنُ الْحَسَنِ، حَدَّثَنَا خَالِدٌ الْحَذَّاءُ، بِهَذَا الإِسْنَادِ نَحْوَهُ غَيْرَ أَنَّهُ قَالَ ‏"‏ وَاخْلُفْهُ فِي تَرِكَتِهِ ‏"‏ ‏.‏ وَقَالَ ‏"‏ اللَّهُمَّ أَوْسِعْ لَهُ فِي قَبْرِهِ ‏"‏ ‏.‏ وَلَمْ يَقُلِ ‏"‏ افْسَحْ لَهُ ‏"‏ ‏.‏ وَزَادَ قَالَ خَالِدٌ الْحَذَّاءُ وَدَعْوَةٌ أُخْرَى سَابِعَةٌ نَسِيتُهَا ‏.‏
Reference : Sahih Muslim 920b
In-book reference : Book 11, Hadith 9
USC-MSA web (English) reference : Book 4, Hadith 2004
  (deprecated numbering scheme)