The Messenger of Allah ﷺ said: Verily people would be brought out from the Fire, and they would be burnt except the exterior (surfaces, fronts) of their faces; and they would enter Paradise. (Using translation from Muslim 191d)
قَالَ رَسُولُ اللهِ ﷺ إِنَّ قَوْمًا يَخْرُجُونَ مِنَ النَّارِ يَحْتَرِقُونَ فِيهَا إِلَّا دَارَاتِ وُجُوهِهِمْ حَتَّى يَدْخُلُوا الْجَنَّةَ