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)
سَمِعْتُ رَسُولَ اللهِ ﷺ يَقُولُ «مَنْ رَأَى عَوْرَةً فَسَتَرَهَا كَانَ كَمَنْ أَحْيَا مَوْءُودَةً مِنْ قَبْرِهَا»