Some people call this dialing the wrong number.
According to the one who told me the story, this incident took place during the Umayyad Caliphate.
Once a King entered the Sacred Mosque of Mecca and a pilgrim said to his mother, ‘ask him whatever you want!’
‘We’re in God’s house. Don’t speak to me of worldly things.’
Later outside, he spotted him again, and again he told his mother.
‘Ask him whatever you want!’
‘Why ask him of the world when it was Him who created it.’
Pic source: unknown.