This hadith has been narrated on the authority of Ibn Shihab with the same chain of transmitters.
Sahih Muslim Book 37, Hadith 20
← Previous Hadith
'Umar b. at-Khattab found a silk garment being sold in the market; he purchased it and brought it to Allah's Messenger (ﷺ) and said: Allah's Messenger, get it and adorn yourself (by wearing it) on the 'Id (days) and for the delegation. Thereupon, Allah's Messenger (ﷺ) said: That is the dress of one who has no share (in the Hereafter). 'Umar stayed there so long as Allah wished. Then Allah's Messenger (ﷺ) sent him a silk cloak. 'Umar came back with that to Allah's Messenger (ﷺ) and said: Allah's Messenger. you said that it is the dress of one who has no share in the Hereafter, but then you sent it to me. Thereupon, Allah's Messenger (ﷺ) said: You sell it and meet your need (with its proceeds).
Sahih Muslim Book 37, Hadith 19 Next Hadith → Would that you buy it? Thereupon he (the Holy Prophet) said: He who wears it has no share for him in the Hereafter. Then Allah's Messenger (ﷺ) was presented with a striped silk garment and he sent it to him ('Umar). He (, Umar) said: You sent it to me whereas I heard from you about it what you had to say, whereupon he (Allah's Messenger) said: I sent it to you so that you may benefit by it.
Sahih Muslim Book 37, Hadith 21
Sahih Muslim Book 37, Hadith 19 Next Hadith → Would that you buy it? Thereupon he (the Holy Prophet) said: He who wears it has no share for him in the Hereafter. Then Allah's Messenger (ﷺ) was presented with a striped silk garment and he sent it to him ('Umar). He (, Umar) said: You sent it to me whereas I heard from you about it what you had to say, whereupon he (Allah's Messenger) said: I sent it to you so that you may benefit by it.
Sahih Muslim Book 37, Hadith 21