The Messenger of Allah (ﷺ) used to offer the Friday prayer when the sun declined. Sunan Abi Dawud Book 2, Hadith 695