عَنْ أَبِي بَكْرَةَ قَالَ: كَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِذَا جَاءَهُ أَمْرٌ سُرُورًا أَوْ يُسَرُّ بِهِ خَرَّ سَاجِدًا شَاكِرًا لِلَّهِ تَعَالَى. رَوَاهُ أَبُو دَاوُدَ وَالتِّرْمِذِيُّ وَقَالَ: هَذَا حَدِيثٌ حسن غَرِيب
Translation

Abu Ja'far said the Prophet saw a dwarf and prostrated himself. Daraqutni transmitted it in mursal form. Sharh as-sunna has the same wording as al-Masabih.