Sahih Muslim #1935 f
The Book of Hunting, Slaughter, and what may be Eaten 34:32
Jabir b. Abdullah reported that Allah's Messenger (ﷺ) sent an expedition to the sea coast and I was one among them. The rest of the hadith is the same with a slight variation of wording that in the hadith transmitted on the authority of Wahb b. Kaisan (the words are):
" The army ate out of that (the whale) for eighteen days."