I read several hadith that said :
if you pray at the time of sunrise and sunset, it is like praying
between the two horns of shaytaan. These times for salat are
prohibited. also it stated that this is the time the Jins pray to
shaytaan.... is this a sound hadith?
Praise be to Allaah.
Yes, it was narrated inSaheeh al-Bukhaari(581) andSaheeh Muslim(831)
that it is forbidden to pray after Fajr prayer until the sun has risen
above the horizon to the height of a spear, at the time of noon when
the sun is at its zenith, and after the time of 'Asr until the sun is
fully set. The Prophet (peace and blessings of Allaah be upon him)
told us that the sun rises and sets between the two horns of a devil,
at which time the kuffaar prostrate to it.
Shaykh Sa'd al-Humayd
There is nothing in the hadeeth to say that the jinn pray to the
devils at that time, rather the devils (shayaateen) are the evil ones
among the jinn.