It’s entirely possible he said this to this Egyptian guy.
But if he did he was probably lying, just as he was lying when he said that he’s a Christian.
If he were really a Muslim, he would be against things like gay marriage, and partial birth abortion. But he isn’t.
Obama is a Marxist, he doesn’t believe in any kind of God. He said those thing to ingratiate himself with the other guy.
You totally nailed it. Add to that Obama thinks he is smarter than anyone else—especially those who believe in a transcendent God. In Obama’s world, He IS god—no room for anyone else.