Police 'to ask religion of people they search'