Sunan an-Nasa'i, Book 22, Hadith 222 (Nasa'i 2316)

It was narrated that Jabir said:

"We traveled with the Messenger of Allah and some of us fasted and some of us did not."