[Machine] Bilal used to give the call to prayer when the sun had dipped, meaning it had set. He would not start the prayer until the Prophet ﷺ came out. And when the Prophet came out, Bilal would establish the prayer at the time when he could see him.
كَانَ بِلَالٌ يُؤَذِّنُ إِذَا دَحَضَتْ يَعْنِي الشَّمْسُ فَلَا يُقِيمُ حَتَّى يَخْرُجَ النَّبِيُّ ﷺ فَإِذَا خَرَجَ أَقَامَ الصَّلَاةَ حِينَ يَرَاهُ