Yahya related to me from Malik from Nafi from Ibn Umar that the Messenger of Allah ﷺ said, "When you come to jumua, do ghusl."
Malik said, "It is not enough for someone to do a ghusl on the day of jumua and intend by it the ghusl for jumua unless he does the ghusl and then sets off. That is because the Messenger of Allah ﷺ said in the hadith related by Ibn Umar, 'When you come to jumua, do ghusl .' "
Malik said, "If someone does ghusl on the day of jumua and intends by it the ghusl of the day of jumua and then sets out, whether early or late, and does something which breaks his wudu, he only has to do wudu and his ghusl remains valid for him."
وَحَدَّثَنِي عَنْ مَالِكٍ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ " إِذَا جَاءَ أَحَدُكُمُ الْجُمُعَةَ فَلْيَغْتَسِلْ " .