Al-Hakam says that the early generations (the Salaf) used to sleep for a short while before the tarawih prayer in Ramadan.