Sunan an-Nasa'i, Book 44, Hadith 81 (Nasa'i 4539)

It was narrated from Jabir that:

the Prophet annulled transaction in the event of crop faioure.