Four people were arrested in Lower Manhattan on Tuesday evening with more than 350 bags of heroin as part of the investigation into the death of the actor Philip Seymour Hoffman, a law enforcement official said.

Narcotics investigators executed search warrants in three apartments in a building at 302 Mott Street on Tuesday evening, the official said. Three men and a woman were arrested, and the investigators recovered the bags of heroin inside the apartments.

Information stemming from the investigation into Mr. Hoffman’s death led them to the building, the official said. Mr. Hoffman, widely considered one of the best actors of his generation, died on Sunday in an apparent heroin overdose.

He was found dead with a needle in his arm in a West Village apartment, about a mile from where the arrests took place. Near Mr. Hoffman’s body, the police found dozens of packages of heroin, some branded with the label “Ace of Spades” or with an ace of hearts.