The Adventures of Sherlock Holmes.
Not the first detective in fiction, but clearly the most famous, Sherlock Holmes definitely qualifies as a classic. Read this book. It's great. It's free. Download it HERE in a variety of eBook formats. This is the link to Feedbooks.com, but it can be downloaded from Manybooks.net and other purveyors of free eBooks.