ﷺ said, "Drowsiness overcame us while we were in our ranks on the day of Badr."Abu Talha said, "I was among those overcome by drowsiness that day. My sword kept falling from my hand, and I would pick it up, and it would fall again, and I would pick it up once more."
ﷺ قال: غشينا النعاس، ونحن في مصافنا يوم بدر. قال أبو طلحة: كنت فيمن غشيه النعاس يومئذ فجعل سيفي يسقط من يدي وآخذه، ويسقط وآخذه.
Ahmad narrated it (16357) from Yunus, who said, Shayban told us, from Qatada, and Husayn (that is, Ibn Muhammad), in the tafsir of Shayban, from Qatada, said, Anas bin Malik told us that Abu Talha said, and then he related it. Ibn Hibban also narrated it (7180) by this same route. Shayban is Ibn Abdul-Rahman the grammarian, a trustworthy narrator and author of a book.However, Bukhari narrated it in the tafsir (4562) from Ishaq bin Ibrahim bin Abdul-Rahman Abu Yaqub, who said, Husayn bin Muhammad told us with his chain, and in it he said, "the day of Uhud." He likewise narrated it in al-Maghazi (4068), where he said, and Khalifa said to me, Yazid bin Zuray told us, Saeed told us, from Qatada, from Anas, from Abu Talha, mentioning something similar.The scholars have held that the drowsiness occurred at Badr, as in the words of the Almighty in Surah Anfal, "When He covered you with drowsiness, a security from Him, and sent down upon you water from the sky to purify you thereby, and to remove from you the impurity of Satan, and to strengthen your hearts, and to make your feet firm thereby" [Anfal 8:11], just as it also occurred at Uhud, according to His words in Surah Al Imran, "Then, after the distress, He sent down upon you security, a drowsiness overcoming a group among you" [Al Imran 3:154]. This is the view Bukhari chose.