Whenever any personal property is wrongfully taken or detained, the person having a right to immediate possession may bring a civil action of replevin for recovery of the property and for damages sustained from the wrongful taking or detention. However, in replevin actions, magistrate courts shall not issue any writs of replevin or any other orders providing for a seizure of property before judgment.
NMS § 35-11-1