إعراب جملة ( قَالَ رَسُولُ اللَّهِ ):
قال: فعل ماضٍ مبنى على الفتح.
رسول: فاعل مرفوع وعلامة الرفع الضمة.
اللهِ: لفظ الجلالة مضاف إليه مجرور وعلامة الجر الكسرة.
The sentence “قَالَ رَسُولُ اللَّهِ” is analyzed as follows: قال is a past tense verb with a fathah ending. رسول is the subject in the nominative case and indicated by a dammah. اللَّهِ is a proper noun in the genitive case and indicated by a kasrah.