A prison warden in Ecuador is in hot water after it was discovered that security guards were marking visitors to the penitentiary with hand stamps featuring the Nazi swastika.

Ecuador's government on Thursday immediately condemned the practice after photos of the hand stamps appeared on social media and caused an immediate uproar.

The Justice Ministry in a statement said the warden of the prison in the capital Quito had been disciplined for negligence and the head of security fired for using a symbol associated with the Holocaust.

The stamps featured the emblem of the Nazi Party with an eagle atop a swastika and the year 1939.