Prosecutors said Sebastian Rodriguez fired the shots that also wounded a 27-year-old man.
During a bond hearing, Assistant State's Attorney Maria McCarthy said three days before the shooting, the defendant and another witness had a three-way phone conversation with the victim. She said Rodriguez told the victim he had a 'death list' with the victim's name on it.
Cook County Circuit Judge Raymond Myles denied bail Tuesday for Rodriguez, who is charged as an adult.