The Supreme Court on Wednesday observed it is not necessary for a Hindu to mandatorily go to a temple or perform a ritual in order to remain a Hindu.