Nothing herein contained shall be deemed to authorize any person to divert the waters of any river, creek, stream, canal or reservoir to the detriment of any person having a prior right to the waters of such river, creek, stream, canal or reservoir.
NMS § 73-12-30