SC rebukes police for entering homes without warrants