'Ali told how, when he heard a man begging from the people on the day of ‘Arafa, he said,
"On this day and in this place do you beg from anyone but God?” He then struck him with a whip.
‘Umar employed me to collect the sadaqa, and when I finished doing so and gave it to him he ordered payment to be given me, but I said, “I did it only for God’s sake, and my reward will come from God.” He replied,
“Take what you are given, for I acted as a collector in the time of God’s messenger, and when he assigned me a payment I said the same kind of thing as you have said, to which he replied that when I was given something without asking for it I should use it for my own purposes and as sadaqa.”
Ibn al-Firasi said that al-Firasi asked God's messenger whether he might beg, and the Prophet replied,
“No; but if there is no escape from it, beg from the upright.”