The Messenger of Allah ﷺ led the prayer at Dhu Qarad. The people formed two rows behind him, one row directly behind him and another row facing the enemy. He prayed one rakah with the row behind him, then they moved to the position of the others, and the other group came forward and he prayed one rakah with them. They did not make up the missed rakah.
أن رسول الله ﷺ صلى بذي قرد، وصف الناس خلفه صفين، صفا خلفه، وصفا موازي العدو، فصلى بالذي خلفه ركعة، ثم انصرف هؤلاء إلى مكان هؤلاء، وجاء أولئك فصلى بهم ركعة، ولم يقضوا.
Nasai (1535) narrated it from Muhammad bin Bashshar, who said, Yahya bin Saeed told us, from Sufyan, who said, Abu Bakr bin Abu Jahm told us, from Ubaydullah bin Abdullah, from Ibn Abbas, and he related it. Ibn Khuzayma (1344) graded it sahih, as did Ibn Hibban (2871) and Hakim (1/335), and the hadith is in Musnad Imam Ahmad (2063), all of them by the route of Sufyan with a similar wording. Ibn Khuzayma did not mention its wording but instead referred it to the wording of the hadith of Huzaifa that follows after it, and he said at the end of it, "and they did not complete it." Then right after it he narrated the hadith of Ibn Abbas as it appeared earlier at the beginning of the chapter on the prayer of the traveler, and in it, "and in fear, one rakat." Bayhaqi (3/262) also narrated it by the route of Sufyan with a similar wording. Then he said, Sufyan said, "So the Prophet ﷺ had two rakats, and each group had one rakat." Hakim said, "Sahih according to the criterion of the two sahihs, though they did not include it with this wording." I say, this is a mistake on his part, for Abu Bakr bin Abu Jahm, whose name is Abdullah, and who is from the tribe of Adi, and is sometimes attributed to his grandfather, is not among the narrators of Bukhari. Rather, only Muslim narrated from him, though he is trustworthy.However, Bayhaqi (3/262) transmitted from Shafii that he set aside this hadith on the grounds that all the hadiths about the prayer of fear agree that the followers owe the same number of prayer units as the imam, and likewise the basic obligation of prayer upon people is uniform in number, and because nothing like it is established with us due to some defect in part of its chain. Bayhaqi said, "This is a hadith that neither Bukhari nor Muslim included in their two books, and Abu Bakr bin Abu Jahm is alone in narrating it in this way from Ubaydullah bin Abdullah. It is possible that it resembles his prayer at Usfan, for his statement, 'then these went to the position of those, and those came,' may mean that the rear row moved forward and the front row moved back. Zuhri narrated, from Ubaydullah bin Abdullah, from Ibn Abbas, something indicating this, with some variation in it from Zuhri regarding the time when one of the two rows kept guard."This is how Bayhaqi interprets the hadith of Abu Bakr bin Abu Jahm, or weakens it, because the two sahihs did not include it. For this reason Ibn Turkmani responded to him, saying, "Nasai narrated it and did not find any defect in it, and the fact that the two sahihs did not include it is not itself a defect, as we have mentioned many times. Ibn Abu Jahm is trustworthy, Muslim narrated from him, so his being the sole narrator does not harm it. How could it, when corroborating reports for it have come, which Bayhaqi himself mentioned?" End of quote.As for his statement, "he prayed at Dhu Qarad," it is spelled with a qaf carrying a fatha, then a plain ra carrying a fatha, ending with a dal, a mountain located about thirty-five kilometers northeast of Madinah. Mujam al-Amkinah al-Warid Dhikruha fi Sahih Bukhari (252).