The 24-year-old was found at a house in Park Parade, Dewsbury, West Yorkshire at 22:30 GMT on Wednesday. His injuries are serious but not life threatening.
West Yorkshire Police believe the shooting was "targeted" and took place in nearby Cemetery Road.
Another person was threatened before the shooting in what officers believe was "mistaken identity".
The shooting has also been linked to a robbery and an attempted robbery. A Peugeot was stolen as a getaway vehicle in one of the incidents.
Live updates and more stories from Yorkshire
Police are looking for four males in their late teens/early twenties. Three of them are described by the force as being Asian, Afghan and Afro-Caribbean.
Det Ch Insp Sue Jenkinson said the suspects were in possession of a shotgun. ã€€
Detectives are also appealing for anyone who may have seen a damaged dark-coloured VW Golf.
A man has been taken to hospital with serious injuries after being shot in a street.