Sayyiduna Ali bin Abi Talib (may Allah be pleased with him) narrates: I was a man who slept a great deal. I would offer the Maghrib prayer while wearing my (outdoor) clothes, and still I would fall asleep (the narrator is unsure; perhaps the words are:) still I would fall asleep before Isha. I asked the Prophet (peace and blessings be upon him) about this, and the Prophet (peace and blessings be upon him) gave me permission.
Imam Ahmad recorded it; its chain contains Muhammad bin Abdul Rahman bin Abi Layla, who is da'if (weak) because of his poor memory, and it also contains a narrator who is not named.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الصلاة / 1759