This phrase is part of a hadith in which the Prophet ﷺ said:
"Whoever fasts Ramadan with faith and seeks his reward from Allah, their past sins will be forgiven." [Agreed upon]
The meaning is:
● They fast Ramadan with firm belief that Allah has made it obligatory.
● They fast out of obedience to Allah, knowing they will meet Him.
● They hope for reward from Allah and fast purely out of their faith while seeking His reward.