As many as 3,167 stocks declined, 827 advanced and 84 remained unchanged on the BSE.