The Robots of Dawn
written by Isaac Asimov
Also a title in the R Daneel Olivaw series.
Set in the Foundation universe
Elijah Baley has faced Departmental hostility since his return to Earth from the planet Solaria, where he solved the first murder to be committed in 200 years. Against his will, a hyperwave drama was made of the case, thanks to Delmarre, the murder suspect whom he proved innocent.