Sahih Muslim #59 c
The Book of Faith 1:119
'Uqba b. Mukarram al-'Ami reported that he heard 'Ala' b. 'Abdur-Rahman narrating this hadith with this chain of transmitters and he said:
Three are the signs of a hypocrite, even if he observed fast and prayed and asserted that he was a Muslim.