Take more natural protein based foods in your routine diet to gain your muscular weight.
Don't take fried foods, fats, junk, and fast foods etc. these foods increase the weight in shape of the fat that is not a healthy condition.
You can take eggs, peanut butter, milk, cheese, meat, fish, nuts, green beans, sweet potatoes etc. to gain your muscular weight.