It is narrated in the hadith of Sayyiduna Ali bin Abi Talib (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "O Ali, when you are fasting in the month of Ramadan, then after breaking your fast say this supplication: 'Allahumma laka sumtu, wa 'alayka tawakkaltu, wa 'ala rizqika aftartu' (O Allah, for You I have fasted, in You I have put my trust, and with Your provision I have broken my fast), and there will be written for you a reward equal to (that of all) those who fasted, without anything being reduced from their rewards," and the rest of the hadith.
This narration will come later in full in the account of the advice the Prophet (peace and blessings be upon him) gave to Sayyiduna Ali (may Allah be pleased with him).