Sunan an-Nasa'i, Book 48, Hadith 172 (Nasa'i 5220)

It was narrated that 'Ali said:

"The Messenger of Allah forbade me to wear a ring on this one and this one," meaning the forefinger and middle finger. And this is the wording of Ibn Al-Muthanna.