N.D.C.C. § 12-44.1-15
Searches
Searches of inmates may only be conducted:
1. Without undue or unnecessary force or indignity to the person searched.
2. When reasonably necessary to control contraband in the institution or to recover missing or stolen property.