Sunan Ibn Majah, Book 12, Hadith 29 (Ibn Majah 2165)

It was narrated that Abu Mas'ud, 'Uqbah bin 'Amr, said:

"The Messenger of Allah (ﷺ), forbade the earnings of a cupper."