From the Quran, Allah (G. B. H) says: {Ramadan is the month in which was sent down the Quran, as a guide to mankind and clear signs for guidance and judgement (between right and wrong), so every one of you who is present during that month should spend it in fasting} [Al-Baqara: 185].
From the sunna, Ibn Umar (G. p. H) narrated that the Messenger of Allah (P. B. U. H) said:
"Islam is built upon five: Testifying there is no god but Allah (G. B. H) and that Muhammad is the Messenger of Allah, performing the prayer, giving zakat, making hajj, and fasting Ramadan".
[Al-Bukhari, Vol. 1, The Book of Faith (Iman\ Chapter 1/8].
And by the consensus of scholars.
One who denies that fasting Ramadan is obligatory becomes an unbeliever (kafir) unless he is a recent convert to Islam or raised away from (Muslim) scholars.
A Muslim who holds fasting Ramadan to be obligatory but leaves it without an excuse should be denied food and drink during the day so that he is forced to respect the state of fasting.