N.H. Const. pt. 1, art. 27
No soldier in time of peace, shall be quartered in any house, without the consent of the owner; and in time of war, such quarters ought not to be made but by the civil authorities in a manner ordained by the Legislature.
June 2, 1784
Amended in 1980 substituting "authorities" for "magistrate."