Peace be upon you. Taking the COVID-19 vaccine during the day in Ramadan does not invalidate the fast, according to Grand Ayatollah Khamenei and Grand Ayatollah Sistani. Source: Grand Ayatollah Sistani's official website and Grand Ayatollah Khamenei's official website.