Hello! Your answer is the fourth amendment.
This amendment states that our property, selves, papers, etc cannot be searched without a cause (most of the time, it will be backed by a warrant). This, therefore, protects us against illegal searches which are not backed by any sort of legal purpose.
Hope this helps!