Recently the police came to our home and asked to search it. We did not give consent. They then told us we had to come out of the home until a search warrant could be obtained or we would be arrested for obstruction. We were stuck outside our home for 6 hours until a search warrant was obtained. Is this legal and what are my rights concerning this?