If I were to know that you had been peeping through the door, I would have thrust that into your eyes, and Messenger of Allah ﷺ said: Permission is needed as a protection against glance. (Using translation from Muslim 2156a)
أَخْبَرَهُ أَنَّ رَجُلًا اطَّلَعَ فِي جُحْرٍ مِنْ بَابِ رَسُولِ اللهِ ﷺ وَمَعَ رَسُولِ اللهِ ﷺ مِدْرًى يُرَجِّلُ أَوْ يَحُكُّ بِهِ رَأْسَهُ فَقَالَ رَسُولُ اللهِ ﷺ «لَوْ أَعْلَمُ أَنَّكَ تَنْتَظِرُنِي لَطَعَنْتُ بِهِ فِي عَيْنِكَ إِنَّمَا جُعِلَ الْإِذْنُ مِنْ أَجْلِ الْبَصَرِ»