Abdullah bin Umar reported,

From the Prophet ﷺ, with the same meaning as the hadith of Abu Damra from Musa bin Uqba. They added in their narration, "and they went out walking," and in the narration of Salih, "walking together," except for Ubaydullah, for in his narration it says, "and they went out," without mentioning anything after that.

Muslim 6950

Sahih

و حدثنا إسحق بن منصور وعبد بن حميد قالا أخبرنا أبو عاصم عن ابن جريج أخبرني موسى بن عقبة ح و حدثني سويد بن سعيد حدثنا علي بن مسهر عن عبيد الله ح و حدثني أبو كريب ومحمد بن طريف البجلي قالا حدثنا ابن فضيل حدثنا أبي ورقبة بن مسقلة ح و حدثني زهير بن حرب وحسن الحلواني وعبد بن حميد قالوا حدثنا يعقوب يعنون ابن إبراهيم بن سعد حدثنا أبي عن صالح بن كيسان كلهم عن نافع

عن ابن عمر

عن النبي ﷺ بمعنى حديث أبي ضمرة عن موسى بن عقبة وزادوا في حديثهم وخرجوا يمشون وفي حديث صالح يتماشون إلا عبيد الله فإن في حديثه وخرجوا ولم يذكر بعدها شيئا

مسلم 6950صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Softening of hearts
Chapter
Story of the three companions of the cave and seeking nearness to Allah through righteous deeds
Numbering
Darussalam 6950
Muslim 6950