170223: Can he tell a lie in order to conceal his charity?

As, it is better to hide your name while giving charity, but under some circumstances when it is not possible to hide yourself is it permissible to say that someone has given me this money to spend this way. Would it be a lie?
Please give your suggestion so that no personal fame or riya includes in my otherwise clear intention to please Allah Subhanahu Wa Taala.

Praise be to Allaah.

Firstly:

Concealing voluntary charity is better than giving it openly.
It was narrated that Abu Hurayrah (may Allah be pleased with him) said: The
Prophet (blessings and peace of Allah be upon him) said: “There are seven
whom Allah will shade with His shade on the Day when there is no shade but
His… a man who gives charity and conceals it so that his left hand does not
know what his right hand is giving.” Narrated by al-Bukhaari (1334) and
Muslim (1712).

This description refers to going to great lengths to conceal
charity. But giving charity openly may serve an interest sometimes, such as
making others follow one’s example.