Abu Saeed Khudri reported,

The noon prayer would be called, and a person could go to al-Baqi, relieve himself, perform ablution, and then return while the Messenger of Allah ﷺ was still in the first rakah, for he would prolong it.

Nasai 974

Sahih

أخبرنا عمرو بن عثمان قال حدثنا الوليد عن سعيد بن عبد العزيز عن عطية بن قيس عن قزعة

عن أبي سعيد الخدري قال

لقد كانت صلاة الظهر تقام فيذهب الذاهب إلى البقيع فيقضي حاجته ثم يتوضأ ثم يجيء ورسول الله ﷺ في الركعة الأولى يطولها

النسائي 974صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Commencement
Chapter
Prolonging standing in the first rakat of Dhuhr prayer
Numbering
Darussalam 974
Nasai 974