ذِكْرُ الْإِخْبَارِ عَمَّا يَجِبُ عَلَى الْمَرْءِ مِنْ لُزُومِ الرَّجَاءِ، وَتَرْكِ الْقُنُوطِ مَعَ لُزُومِهِ الْقُنُوطَ وَتَرْكَ الرَّجَاءِ
Sahl b. Sa'd reported it from Messenger of Allah ﷺ that a person performs deeds like the deeds of the people of Paradise apparently before people and he would be amongst the dwellers of Hell and a person acts apparently like the people of Hell, but (in fact) he would be among the dwellers of Paradise. (Using translation from Muslim 112b)
أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ «إِنَّ الرَّجُلَ لَيَعْمَلُ بِعَمَلِ أَهْلِ الْجَنَّةِ وَإِنَّهُ لَمِنْ أَهْلِ النَّارِ وَإِنَّ الرَّجُلَ لَيَعْمَلُ بِعَمَلِ أَهْلِ النَّارِ وَإِنَّهُ لَمِنْ أَهْلِ الْجَنَّةِ»