The Prophet ﷺ said, "Whoever does not give up false speech and acting upon it, Allah has no need for him to give up his food and drink."
حدثنا أبو موسى محمد بن المثنى حدثنا عثمان بن عمر قال وأخبرنا ابن أبي ذئب عن المقبري عن أبيه
أن النبي ﷺ قال من لم يدع قول الزور والعمل به فليس لله حاجة بأن يدع طعامه وشرابه
Source. Bukhari also narrated it in the Book of Fasting, in the chapter "Whoever Does Not Abandon False Speech and Acting Upon It While Fasting," hadith no. 1903, from the hadith of Muhammad bin Abdul-Rahman bin Abu Dhib, through him.This subject is also reported from Anas [Tabarani in al-Saghir 1/170].