A 32-year-old man was killed by a mob attack at Dhan Gobeshona Road in Barisal city on Saturday for alleged rape attempt.