Police were called to an address in Scholemoor Avenue, Bradford at about 7.36pm on Thursday after gunshots were reported.
Firearms officers attended and confirmed there had been a discharge with damage caused to a door and window.
The occupants of the address were found to be safe and well.
Further enquiries established that a 21-year-old man had presented himself at hospital with suspected gunshot wounds to his back.
He remains in hospital in a stable condition.
Enquiries are continuing at the scene and anyone with information is asked to contact the Homicide and Major Enquiries Team on 101 or report anonymously to Crimestoppers on 0800 555111.
Drug Arrests After Police Raid in Allerton
Appeal after serious collision on Vicar Lane in Leeds
Leeds 400 challenge launched to get city moving
Accrington drug dealer jailed for 10 years
Culture at the Heart of Stockport’s Transformation
South Asian Art Exhibition Opens at Cartwright Hall
Men’s Mental Fitness Programme Launches in Blackburn
Council Calls for Tougher Fly-Tipping Sentences
Man Jailed for Raping and Exploiting Vulnerable Teen in Stockport
Free Midsummer Festival to Return to Milton Keynes
Leeds Sets Out ‘Landmark Year of Opportunity’ for Major Projects
Legal Show
The Golden Era
Alim OnAir
Remix Saturdays