Al-Hajj 22:32
ذَٰلِكَ وَمَن يُعَظِّمْ شَعَـٰٓئِرَ ٱللَّهِ فَإِنَّهَا مِن تَقْوَى ٱلْقُلُوبِ
Thalika waman yuAAaththimshaAAa-ira Allahi fa-innaha min taqwaalquloob
That [is so]. And whoever honors the symbols [i.e., rites] of Allāh - indeed, it is from the piety of hearts.
Having said that, if one observes the sanctity of the symbols of Allah, then such things emanate from the piety of the hearts.