A haunted house was a house or other building believed to be inhabited by spirits.
In 2154, an agitated Phlox wondered if Enterprise were a starship or a haunted house, after a series of noises had made him jumpy. (ENT: "Doctor's Orders")
In 2355, John and Mary Kim took their son Harry to a haunted house. (VOY: "Collective")