BAYHAQI 5925:
from Ibn ʿUmar —
[Machine] I heard the Prophet ﷺ say, "If one of you feels sleepy while in the mosque on the day of Friday, he should move from his place to another." This tradition has been narrated by individuals from Muhammad ibn Ishaq ibn Yasar, and it has also been reported from another source from Nafi'.
البيهقي ٥٩٢٥:
عن ابن عمر —
سَمِعْتُ النَّبِيَّ ﷺ يَقُولُ إِذَا نَعَسَ أَحَدُكُمْ وَهُوَ فِي الْمَسْجِدِ يَوْمَ الْجُمُعَةِ فَلْيَتَحَوَّلْ مِنْ مَجْلِسِهِ ذَلِكَ إِلَى غَيْرِهِ هَذَا الْحَدِيثُ يُعَدُّ فِي أَفْرَادِ مُحَمَّدِ بْنِ إِسْحَاقَ بْنِ يَسَارٍ وَقَدْ رُوِيَ مِنْ وَجْهٍ آخَرَ عَنْ نَافِعٍ
hadithunlocked.com