Sahih Muslim, Book 13, Hadith 1 (Muslim 2470)

Abu Huraira reported Allah's Messenger (ﷺ) as saying:

When there comes the month of Ramadan, the gates of mercy are opened, and the gates of Hell are locked and the devils are chained,