Section 3 Mishkat al-Masabih 1966

Arabic hadith text
وَعَنِ ابْنِ عَبَّاسٍ قَالَ: كَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِذَا دَخَلَ شَهْرُ رَمَضَانَ أَطْلَقَ كُلَّ أَسِيرٍ وَأَعْطَى كُلَّ سَائِلٍ. رَوَاهُ الْبَيْهَقِيّ
Translation

Ibn ‘Abbas said that when the month of Ramadan began God's messenger set every prisoner free and gave to every beggar.