The Prophet ﷺ said: He who sees something which should be kept hidden and conceals it will be like one who has brought to life a girl buried alive. (Using translation from Abū Dāʾūd 4891)
عَنْ رَسُولِ اللهِ ﷺ قَالَ «مَنْ رَأَى عَوْرَةً فَسَتَرَهَا كَانَ كَمَنِ اسْتَحْيَا مَوْءُودَةً مِنْ قَبْرِهَا»