Allah's Messenger (ﷺ) said, "I do not take my meals while leaning (against something).
Sahih al-Bukhari Book 70, Hadith 26