Do any of the Hinduism scriptures say that someone was killed by Lord Shiva and thus he got Moksha?
Anyone or any being killed by Shiva attains Shivatva (Shiva Himself) or Moksha. This becomes evident when we see the mantra given for animal sacrifice (Balidana) in KulArnava Tantram (one of the most authoritative ShAkta Agama).
As you might be knowing that sacrificing animals for Deva , Pitru Yajnas has been adjudged as legal in all Hindu Scriptures.
But this sacrifice has to be done only as prescribed in Scriptures. Usually the sacrificial animal is infused & worshiped with some mantras before the sacrifice is performed , so that it attains higher heavens as a reward of sacrificing its life.
In Mahanirvana Tantram (another Shakta Agama), a different mantra, called the Pashu Gayatri , is mentioned. This mantra has to be spoken into the animal's ears before performing the sacrifice and it serves a similar purpose.
Sacrifices which are done without the use of such prescribed mantras takes the performer to hell.
The mantra given in KulArnava says- Hey animal know that , since you are being killed by Shiva , hence you are attaining Shivahood (i.e moksha).
Shivotkrittamidam Pindamatastvam ShivatAm Gataha |
Tadbudhyasva Paso Tvam MAshivastvam Shivohas Hi ||
You are being killed (cut) by Shiva. Hence , you will attain Shiva (moksha). Hey animal,know this. You are not Ashiva. You are Shiva only.
KulArnava Tantram , Chapter 5 ,Verse 50.
The previous verse says one who does not worship the animal with gandha-akshata-pushpa along with this mantra, before the sacrifice, goes to hell.
I agree that this is an indirect approach but this is the most i could gather for the time being.