ALLAH (سُبْحَانَهُ وَتَعَالَى) SAYS: “And do not pursue that of which you have no knowledge. Verily the hearing, sight and heart will be questioned about.” [1].
وَلَا تَقْفُ مَا لَيْسَ لَكَ بِهِ عِلْمٌ إِنَّ السَّمْعَ وَالْبَصَرَ وَالْفُؤَادَ كُلُّ أُولَئِكَ كَانَ عَنْهُ مَسْئُولًا
We relate in the Ṣaḥīḥ of Muslim that Abū Hurayrah (رَضِيَ اللَّهُ عَنْهُ) reported that the Messenger of Allah (صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ) said: “Two human traits are tantamount to unbelief: casting aspersions on lineage and wailing over the dead.” [2].
References
[1] Qur’ān 17:36.
[2] Muslim (67).