Following is a quote from the book "KIDDUSH HASHEM" by Simon Huberand (pub
1969, Tel Aviv) p 23 "The Hatam Sofer went to the extent to declare that a
Jew killed (by a non-jew) even in a robbery (ie. without the choice of being
mekadesh Hashem [sanctifying G-d] ) is a Kadosh (sanctified)." (translation
mine)
The teshuva (response) to the best of my knowledge is in SHUT (Responsa of
the) Hatam Sofer, yoreh deah #3(??). I hope this is a start. I believe that
Rabbi A.Rakefet wrote on this in the late 1970's or 80's