Name and why it is called so
The surah takes its name from the word al-ma'un in its last verse, "Wa yamna'unal-ma'un" (and they withhold small kindnesses). In Sunan Abi Dawud, Abdullah ibn Mas'ud (may Allah be pleased with him) states that in the time of the Prophet ﷺ they took ma'un to mean lending things like a bucket and a cooking pot. Ibn Abbas (may Allah be pleased with him) also explained it as lending items, while some scholars include zakat in it as well.
Time of revelation and background
In the copies of the Quran it is written as a Meccan surah. Some commentators have called it Medinan, and one view is that the opening verses were revealed in Mecca and the rest in Medina, since the mention of praying to be seen fits the hypocrites who appeared in Medina. The opening verses point to those who denied the Hereafter, whose denial showed itself as harshness and selfishness in their character.
Main themes
The surah begins with a question: Have you seen the one who denies the Recompense? Then it gives his signs: he repels the orphan and does not urge the feeding of the poor. This makes clear that without certainty of the Hereafter it becomes easy to violate the rights of the weak, and that the effect of faith shows in good treatment of others.
The second part warns of "wayl" (woe) for those who pray yet are heedless of their prayer. Sa'd ibn Abi Waqqas (may Allah be pleased with him) was asked by his son Mus'ab: Does this mean stray thoughts during prayer? He said: No, which of us does that not happen to? It means delaying the prayer beyond its time. This is Sa'd's own interpretation. Then come the condemnation of worship done for show and of withholding small things. The summary of the tafsir of Surah Al-Maun is that worship should be sincere, and its effect should be seen in serving people.