Montgomery County detectives are investigating whether the death of an 81-year-old man last week in Olney is connected to the fatal shooting of another man there Monday.

“We’re working this with a sense of urgency,” said Montgomery Police Chief J. Thomas Manger.

It was not immediately clear how the two might be linked.

On Friday, police discovered Nazir Ahmed, 81, unresponsive in his home in the 19500 block of Olney Mill Road. On Monday at about 4:20 p.m., police found Punyasara W. Palkumbure Gedara, of Bantry Way, in the 3400 block of N. High Street.

“We are looking at them to see if they are related,” said Cpt. Paul Starks, a county police spokesman. Police would not say if either man was robbed or specifically targeted.

Investigators initially called Ahmed’s death suspicious, but did not immediately call it a homicide. On Tuesday, they confirmed that the cause of Ahmed’s death was a gunshot wound and classified it as a homicide.

Police said he was last seen on Wednesday at about 6 p.m. at the Muslim Community Center in Silver Spring, where he regularly attended prayer services. On Friday, when he did not arrive at the center, a concerned male friend went to his home to check on him. When the friend arrived, he found Ahmed unresponsive and called police.

Gedara was walking home from his job at the Subway in the Olney Town Center when he was shot. Police said he was walking home when he was attacked.

An older-model beige Toyota Camry was seen on N. High Street headed toward Georgia Avenue around the time of the shooting, they said.

Police ask anyone with information about either case to call detectives at 240-773-5070. Annonymous callers can contact Crime Solvers of Montgomery County at 1-866-411-TIPS (8477) or 240-773-TIPS (8477).

This item has been updated since it was first published.