Abdullah bin Abi al-Hudhayl relates: "I invited one of the elders among the Companions of the Prophet (peace and blessings be upon him) to my house. When the mu'adhdhin of Maghrib called the adhan, he stood up (for a voluntary prayer) and prayed. I asked him about it, and he said: 'Sayyiduna Ubayy bin Ka'b (may Allah be pleased with him) used to pray these two rak'ahs (before the obligatory prayer of Maghrib).'"
Imam Musaddad recorded it, and all its narrators are thiqat (trustworthy).