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