Sunan Ibn Majah Book 5, Hadith 143
“What did you hear from the
Prophet
(ﷺ) about a man when he is performing prayer?” He said: “I
heard the Prophet (ﷺ) saying: ‘If anyone of you knew (how great
is
the sin involved) when he passed in front of his brother who is
performing prayer, then waiting for forty’,”
(one of the
narrators)
said: “I do not know if he meant forty years, forty
months, or forty
days, ‘would be better for him than that.”
“They sent me to Zaid bin Khalid to ask him about passing in front of one who is performing prayer. He told me that the Prophet (ﷺ) said: ‘Waiting for forty is better than passing in front of one who is performing prayer.’”
(One of the narrators) Sufyan said: "I do not know if he meant forty years, months, days, or hours."
“The Prophet (ﷺ) said: ‘If anyone of you knew (how great is the sin involved) in passing in front of his brother while he is performing prayer, waiting for one hundred years would be better for him than one step that he takes.’”