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)
أَخْبَرَهُ أَنَّ رَجُلًا اطَّلَعَ مِنْ جُحْرٍ فِي بَابِ النَّبِيِّ ﷺ وَمَعَ رَسُولِ اللهِ ﷺ مِدْرًى يَحُكُّ بِهَا رَأْسَهُ فَلَمَّا رَآهُ رَسُولُ اللهِ ﷺ قَالَ «لَوْ عَلِمْتُ أَنَّكَ تَنْظُرُنِي لَطَعَنْتُ بِهِ فِي عَيْنِكَ إِنَّمَا جُعِلَ الْإِذْنُ مِنْ أَجْلِ الْبَصَرِ»