NSW Police's internal affairs section is considering investigating detectives who wrongfully arrested and jailed a man despite having strong evidence that he was not responsible for the crime.

Haysam Zreika, 32, was forcefully arrested by heavily armed officers in 2006 over a shooting in Parramatta with which he had no connection.

Detectives in the case relied almost entirely on a statement from a man working at a nearby service station who witnessed Mr Zreika come into his store and say aloud that he had just killed, or felt like killing, "some c----".

NSW District Court Judge Stephen Walmsley found that the detective in charge, Constable Jacqueline Ryder, effectively decided on this evidence that Mr Zreika was the chief suspect. This was despite the fact that the description of Mr Zreika provided by the attendant was different to that given by another man who had witnessed the shooting.

Constable Ryder elected not to interview several key witnesses who were closely connected to the victim of the crime until after Mr Zreika was arrested.