Sahih Muslim Book 42, Hadith Number 7115.
Chapter : The Prohibition of Simulation and ostentation.
Ibn Abbas reported Allah’s Messenger (may peace be upon him) as saying: If anyone wants to have his deeds widely publicised, Allah will publicise (his humiliation).And if anyone makes a hypocritical display (of his deeds) Allah will make a display of him.