The Prophet ﷺ said, "Do not give me preference over Musa, for on the Day of Resurrection people will be struck unconscious, and I will be struck unconscious along with them. I will be the first to recover, and there I will find Musa holding onto the side of the Throne. I do not know whether he was among those who were struck unconscious and recovered before me, or whether he was among those whom Allah exempted."The hadith contains a longer story.
عن النبي ﷺ قال: لا تخيروني على موسى، فإن الناس يصعقون يوم القيامة، فأصعق معهم فأكون أول من يفيق، فإذا موسى باطش جانب العرش، فلا أدري أكان فيمن صعق فأفاق قبلي أو كان ممن استثنى الله. والحديث فيه قصة.
Bukhari reported it in the Hadiths of the Prophets (2411), and Muslim in the Book of Virtues (2373:159), both through Abdul-Rahman Araj, from Abu Hurairah, who narrated it. However, Bukhari paired Abu Salama bin Abdul-Rahman together with Abdul-Rahman Araj.