It is narrated from Sayyiduna Anas (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever among you becomes drowsy in the mosque should go back to his bed until he is aware of what he is reciting or what he is saying." Also from Sayyiduna Anas (may Allah be pleased with him) it is narrated: "We used to come to the mosque of the Prophet (peace and blessings be upon him) to pray and would wait for the prayer; some of us would doze or fall asleep (while sitting), and they would not perform ablution again." Imam Abu Ja'far said that Hushaym said: "This ruling does not apply to one who sleeps lying down; rather, he must repeat the ablution." I (the author) say: The hadith narrated by Muhammad bin Yahya bin Abi Umar has a shahid (supporting narration) in the two Sahihs in the hadith of Sayyidah Aishah (may Allah be pleased with her).
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب المساجد / 1027
Hadith Gradingمحدثین:سكت عنه البوصيري، إسناده ضعيف جدًا؛ أبان بن أبي عياش متروك، وله شاهد في الصحيحين من حديث عائشة
Hadith Takhrij«أبان بن أبي عياش: متروك (التقريب)؛ مروان هو ابن معاوية الفزاري ثقة»