I recently came across a documentary by AhlulbaytTV where they discussed that Sheikh Suduq had a hadith which indicated that the Prophet (PBUH) accidentally lost attention in his prayers/made a mistake in his prayers (Astaghfurallah), and the Sheikh Suduq insisted this hadith was authentic. The clip was in minute 25:15 of this documentary (which can be accessed here: https://www.youtube.com/watch?v=5bl00E-Zhi8&t=1560s). The documentary goes on to state that Sheikh Al-Mufid went on to reject this tradition based off of logical rationality. However because the documentary was so vague, I am not satisfied with this response and it has made me worried—as I am a firm follower of our Imams but did not know that such contradictory hadiths existed and that a scholar like Sheikh Suduq would even accept such a hadith. I would like the Sayed (or any one of his scholarly team) to comment on what basis Sheikh Al-Mufid rejected this tradition, and what the classification of such a hadith is (whether it is considered as weak or strong). I am sure none of our Imams(AS) would say such a thing. As a young Shia Muslim male, and I want to be firm on the path of the Quran and AhlulBayt, so I would like to know if I should also cross-check such hadiths with the Quran, so that if they contradict—to leave them. But please if you can also give me the basis for how Sheikh Al-Mufid rejected it, and what the consensus of the marja is on such a hadith by Sheikh Suduq.

Please watch this lecture that discusses the subject of Isma of the Prophet in details