In line with the Qur'anQur'an 7:32 ↗قُلۡ مَنۡ حَرَّمَ زِينَةَ ٱللَّهِ ٱلَّتِيٓ أَخۡرَجَ لِعِبَادِهِۦ وَٱلطَّيِّبَٰتِ مِنَ ٱلرِّزۡقِۚ قُلۡ هِيَ لِلَّذِينَ ءَامَنُواْ فِي ٱلۡحَيَوٰةِ ٱلدُّنۡيَا خَالِصَةٗ يَوۡمَ ٱلۡقِيَٰمَةِۗ كَذَٰلِكَ نُفَصِّلُ ٱلۡأٓيَٰتِ لِقَوۡمٖ يَعۡلَمُونَ
Say, “Who forbade God’s finery which He has produced for His servants, and the delights of livelihood?” Say, “They are for those who believe, in this present world, but exclusively theirs on the Day of Resurrection.” We thus detail the revelations for people who know.
The verse asks who forbade God's adornment and the good things of provision, matching the messenger never refusing offered perfume.
In line with the Qur'anQur'an 5:87 ↗يَٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُواْ لَا تُحَرِّمُواْ طَيِّبَٰتِ مَآ أَحَلَّ ٱللَّهُ لَكُمۡ وَلَا تَعۡتَدُوٓاْۚ إِنَّ ٱللَّهَ لَا يُحِبُّ ٱلۡمُعۡتَدِينَ
O you who believe! Do not prohibit the good things God has permitted for you, and do not commit aggression. God does not love the aggressors.
The verse forbids making unlawful the good things God made lawful, agreeing with the report's practice of accepting perfume.