Jami` at-Tirmidhi, Book 30, Hadith 7 (Tirmidhi 2189)

Al-Harith narrated from 'Ali:

"The Prophet (s.a.w) judged with the debt before the will, and you people recite the will before the debt."