كتاب الصلاة
3  
Prayer

Yahya related to me from Malik that Yahya ibn Said said, "The Messenger of Allah, may Allah bless him and grant him peace, had wanted to take two pieces of wood to strike them together to gather people for the prayer, and Abdullah ibn Zayd al-Ansari, then of the tribe of Harith ibn al-Khazraj, was shown two pieces of wood in his sleep. He said, 'These are close to what the Messenger of Allah, may Allah bless him and grant him peace, wants.' Then it was said, 'Do you not call to the prayer?', so when he woke up he went to the Messenger of Allah, may Allah bless him and grant him peace, and mentioned the dream to him. The Messenger of Allah, may Allah bless him and grant him peace, ordered the adhan."

حَدَّثَنِي يَحْيَى، عَنْ مَالِكٍ، عَنْ يَحْيَى بْنِ سَعِيدٍ، أَنَّهُ قَالَ كَانَ رَسُولُ اللَّهِ صلى الله عليه وسلم قَدْ أَرَادَ أَنْ يَتَّخِذَ خَشَبَتَيْنِ يُضْرَبُ بِهِمَا لِيَجْتَمِعَ النَّاسُ لِلصَّلاَةِ فَأُرِيَ عَبْدُ اللَّهِ بْنُ زَيْدٍ الأَنْصَارِيُّ ثُمَّ مِنْ بَنِي الْحَارِثِ بْنِ الْخَزْرَجِ خَشَبَتَيْنِ فِي النَّوْمِ فَقَالَ إِنَّ هَاتَيْنِ لَنَحْوٌ مِمَّا يُرِيدُ رَسُولُ اللَّهِ صلى الله عليه وسلم فَقِيلَ أَلاَ تُؤَذِّنُونَ لِلصَّلاَةِ فَأَتَى رَسُولَ اللَّهِ صلى الله عليه وسلم حِينَ اسْتَيْقَظَ فَذَكَرَ لَهُ ذَلِكَ فَأَمَرَ رَسُولُ اللَّهِ صلى الله عليه وسلم بِالأَذَانِ ‏.‏
Sunnah.com reference : Book 3, Hadith 1
USC-MSA web (English) reference : Book 3, Hadith 1
Arabic reference : Book 3, Hadith 147