It is narrated from Sayyiduna Umar bin al-Khattab (may Allah be pleased with him) that he said: The Messenger of Allah (peace and blessings be upon him) said: "Whoever shades the head of a warrior, Allah Almighty will grant him His shade on the Day of Resurrection; whoever equips a warrior in the path of Allah with the provisions for jihad will have a reward equal to that warrior's; and whoever builds a mosque in which the name of Allah, the Mighty and Majestic, is mentioned, Allah Almighty will build for him a house in Paradise."
Imam Ibn Majah (may Allah have mercy on him) narrated it in his "Sunan" through Abu Bakr bin Abi Shaybah, Yunus bin Muhammad and Layth bin Sa'd; and the part about building a mosque is also narrated from Abu Bakr bin Abi Shaybah, Dawud bin Abdullah al-Ja'fari and Abd al-Aziz bin Muhammad; both of them narrated it from Yazid bin Abdullah bin al-Hadi, and he from al-Walid; so in its chain there is the addition of Yazid bin Abdullah bin al-Hadi.
And Abu Hatim Ibn Hibban (may Allah have mercy on him) narrated its first part through Imam Abu Ya'la al-Mawsili (may Allah have mercy on him) by the same route that we have mentioned.
I say: It is possible that Layth (may Allah have mercy on him) heard this hadith from both Yazid and al-Walid. And Allah knows best.
Imam Ibn Hibban (may Allah have mercy on him) also narrated it from al-Hasan bin Sufyan (may Allah have mercy on him), from Abu Bakr bin Abi Shaybah, and he from Yunus.
It is narrated from Sayyiduna Umar bin al-Khattab (may Allah be pleased with him) that he said: I heard the Messenger of Allah (peace and blessings be upon him) saying: "Whoever shades the head of a warrior, Allah Almighty will grant him His shade on the Day of Resurrection; and whoever prepares a warrior's provisions until he sets out (for jihad) will have a reward equal to that (warrior's) until he dies." Yunus (may Allah have mercy on him) also said this wording: "or (until) he returns (from jihad)." (He further said:) "And whoever builds for Allah Almighty a mosque in which the name of Allah Almighty is mentioned, Allah Almighty will build for him in return a house in Paradise."
Imam Ahmad (may Allah have mercy on him) narrated it like this.
He also narrated it from al-Hasan bin Musa (may Allah have mercy on him), from Ibn Lahi'ah (may Allah have mercy on him), through al-Walid (may Allah have mercy on him).
It is narrated from Sayyiduna Umar bin al-Khattab (may Allah be pleased with him) that he said: I heard the Messenger of Allah (peace and blessings be upon him) saying: "Whoever shades the head of a warrior, Allah Almighty will grant him His shade on the Day of Resurrection; and whoever prepares a warrior's provisions until he sets out (for jihad) will have a reward like that warrior's, until he dies or returns; and whoever builds a mosque (for the pleasure of Allah), Allah Almighty will build for him a house in Paradise."
It is narrated from Sayyiduna Umar bin al-Khattab (may Allah be pleased with him) that he said: "I heard the Messenger of Allah (peace and blessings be upon him) saying: 'Whoever shades the head of a warrior, Allah Almighty will grant him His shade on the Day of Resurrection; and whoever equips a warrior (for jihad) until he sets out will have a reward equal to that warrior's, until he (the warrior) dies or returns (home).'"
It is narrated from Sayyiduna Umar (may Allah be pleased with him) that he said: I heard the Messenger of Allah (peace and blessings be upon him) saying: "Whoever builds a mosque in which the name of Allah is mentioned, Allah will build for him a house in Paradise."