Court refuses bail to accused