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.
The concept of Moksha is described differently in different scriptures. Some Vaishnava schools take that word to mean exclusively Vaikuntham. And in Upanisads Moksha is also identified with liberation in general as opposed to specific abode of Lord Shiva or Lord Vishnu.
I don't know of any reference in the Puranas that clearly say one way or the other. So I will have to say it depends on which definition of Moksha one accepts. If you take it to mean Vaikuntham like some Vaishnavas sects and schools do, then you have to accept their take that only Lord Sriman Narayana can grant Moksham.
If you take a broader interpretation of that meaning
liberation in general, then you can take that Lord Shiva can grant Moksham, as implied by Upanisads (Kaivalya, Svetasvatara..)