It is narrated from Sayyiduna Samurah (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "When one of you becomes drowsy during the Friday (prayer), let him move from his place."
Hadith Referenceالمعجم الكبير للطبراني / باب السين / 6973