Sunan Ibn Majah, Book 8, Hadith 46 (Ibn Majah 1828)

It was narrated that:

Qais bin Sa'ad said: “The Messenger of Allah (ﷺ) enjoined Sadaqatul-Fitr upon is before (the command of) Zakat was revealed. He neither ordered us (to pay) nor forbade us (from paying it), so we did it.”