Jami` at-Tirmidhi, Book 16, Hadith 33 (Tirmidhi 1432)

Narrated Bahz bin Hakim:

from his father, from his grandfather, that the Prophet (ﷺ) imprisoned a man for an accusation, then he let him go.