I heard the Messenger of Allah ﷺ say, "When one of you grows drowsy in the mosque on Friday, let him move from his seat to another."
حدثنا يزيد أخبرنا محمد بن إسحاق عن نافع
سمعت رسول الله ﷺ يقول إذا نعس أحدكم في المسجد يوم الجمعة فليتحول من مجلسه ذلك إلى غيره