LOS ANGELES — The suspect in the shooting of Nipsey Hussle, the Grammy-nominated rapper, was arrested on Tuesday, the Los Angeles Police Department said.

Detectives confirmed the suspect, Eric Holder, 29, was in custody.

Nipsey Hussle was fatally shot on Sunday outside a store he co-owned in South Los Angeles. His death was met with grief and outrage by residents in the Crenshaw neighborhood where he grew up and by people across the music industry.

According to video evidence cited by the police, Mr. Holder reportedly walked up to the rapper and two other men who were with him several times before leaving and returning armed with a handgun. He fired several times before fleeing the scene in a white Chevy Cruze that was driven by an unidentified woman.

[Update: Man suspected in Nipsey Hussle shooting is charged with murder.]

“In this case as in every case, it’s the community’s involvement that makes us safer,” said the Los Angeles police chief, Michel Moore, at a news conference on Tuesday.