CCTV footage captured the accused writing the slogan on the mosque wall and later leaving the spot in an autorickshaw.