Please contribute generously in order to ensure the continuity of our website InshaAllah.
Praise be to Allah.
We do not know of any basis for these words, and we do not know of any of the scholars narrating it or mentioning it. What appears to be the case is that it is a mawdoo‘ (fabricated) hadith for which there is no basis, so it is not permissible to attribute it to the Prophet (blessings and peace of Allah be upon him, because that comes under the heading of telling a lie about him.
In the answer to question no. 151653, we stated that if a Muslim is offering an obligatory prayer, he should not interrupt it to answer the call of his father or mother, but he can alert the one who is calling him to the fact that he is praying by saying tasbeeh, reciting in a louder voice, and the like.
It is also prescribed for him to shorten his prayer, then when he has finished praying, he may respond to the one who is calling him. So how about if he is an imam who is leading the people in prayer?
There is no basis for these words.
And Allah knows best.