وَلَا تَسُبُّوا الَّذِينَ يَدْعُونَ مِن دُونِ اللَّهِ فَيَسُبُّوا اللَّهَ عَدْوًا بِغَيْرِ عِلْمٍ
“And do not curse those they invoke other than Allah, lest they insult Allah in enmity without knowledge”
Cited to show the Prophet ﷺ never actually cursed the Quraysh's idols, contrary to their accusation to Abu Talib.
Cited by the lecturer as the broader Qur'anic principle behind why mocking Allah, His revelations, and His Messenger ﷺ is never permissible, even as a joke.