Tafsir of 12:35 Ma'arif al-Qur'an
ثُمَّ بَدَا لَهُم مِّنۢ بَعْدِ مَا رَأَوُا۟ ٱلْـَٔايَـٰتِ لَيَسْجُنُنَّهُۥ حَتَّىٰ حِينٍ ﴿٣٥﴾
So, said at the end of the verse (35) was:
ثُمَّ بَدَا لَهُم مِّن بَعْدِ مَا رَأَوُا الْآيَاتِ لَيَسْجُنُنَّهُ حَتَّىٰ حِينٍ
Later on, even after having seen the signs, they [ the ` Aziz of Misr and his advisers ] deemed it proper [ or expedient ] to imprison him for a time.
Thus, to the prison he was sent.
Source: Ma'arif al-Qur'an — Mufti Muhammad Shafi. Licence: Maktaba-e-Darul-Uloom; confirm