It is narrated from Sayyiduna Uthman bin Affan (may Allah be pleased with him) that he led the people of Mina in a prayer of four rak'ahs, and the people objected to this, so he said: "When I arrived here, I had married here and settled a household; and I heard the Messenger of Allah (peace and blessings be upon him) say: 'When a man takes a family in a town (that is, marries there), he should pray there the complete prayer, like a resident.'" Imam al-Humaydi recorded it, and the wording is his; Ibn Abi Umar, Abu Ya'la, Ibn Abi Shaybah and Ahmad bin Hanbal also recorded it; however, its chain is technically da'if (weak) because some of its narrators are unknown.
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب قصر الصلاة / 1568
Hadith Gradingمحدثین:إسناده ضعيف
Hadith Takhrij«رواه الحميدي واللفظ له، وابن أبي عمر، وأبو يعلى، وابن أبي شيبة، وأحمد بن حنبل، بسند ضعيف؛ لجهالة بعض رواته»