The Order to give Charity before One speaks to the Prophet in private
Allah commanded His believing servants,
يا أيها الذين آمنوا إذا ناجيتم الرسول فقدموا بين يدي نجواكم صدقة
O you who believe!
When you (want to) consult the Messenger in private, spend something in charity before your private consultation.
Allah commanded His believing servants, when any of them wanted to speak with Allah's Messenger in secret, to give away charity beforehand so that his charity cleanses and purifies him and makes him worthy of having a private counsel with the Prophet. This is why Allah the Exalted said,
ذلك خير لكم وأطهر
That will be better and purer for you.
then He said,
فٳن لم تجدوا
But if you find not.
meaning, if he is unable to do so due to poverty,
فٳن الله غفور رحيم
then verily, Allah is Oft-Forgiving, Most Merciful.
He only commanded those who are financially able to give this type of charity.
Allah the Exalted said,