Is it okay if we keep the fast and perform the ghusl after that or before fajr?