Qatada said:
It was mentioned to us that when they did what they did regarding the table, out of treachery and other things, they were transformed into swine. They had been commanded not to commit treachery regarding it, and not to hide or store anything for the next day, yet they committed treachery, hid [the food], and stored it.
Surah Al-Ma'idah from verse (116) to verse (120).